package com.hutao.manage.pojo;

import java.util.ArrayList;
import java.util.List;

public class StddiseaseExample {
    /**
     * STDDISEASE_
     */
    protected String orderByClause;

    /**
     * STDDISEASE_
     */
    protected boolean distinct;

    /**
     * STDDISEASE_
     */
    protected List<Criteria> oredCriteria;

    /**
     *
     * @代码生成于 2020-06-11
     */
    public StddiseaseExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    /**
     *
     * @代码生成于 2020-06-11
     */
    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    /**
     *
     * @代码生成于 2020-06-11
     */
    public String getOrderByClause() {
        return orderByClause;
    }

    /**
     *
     * @代码生成于 2020-06-11
     */
    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    /**
     *
     * @代码生成于 2020-06-11
     */
    public boolean isDistinct() {
        return distinct;
    }

    /**
     *
     * @代码生成于 2020-06-11
     */
    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    /**
     *
     * @代码生成于 2020-06-11
     */
    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    /**
     *
     * @代码生成于 2020-06-11
     */
    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-06-11
     */
    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-06-11
     */
    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     *
     * @代码生成于 2020-06-11
     */
    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    /**
     * STDDISEASE_ 2020-06-11
     */
    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andAccodeIsNull() {
            addCriterion("ACCODE_ is null");
            return (Criteria) this;
        }

        public Criteria andAccodeIsNotNull() {
            addCriterion("ACCODE_ is not null");
            return (Criteria) this;
        }

        public Criteria andAccodeEqualTo(String value) {
            addCriterion("ACCODE_ =", value, "accode");
            return (Criteria) this;
        }

        public Criteria andAccodeNotEqualTo(String value) {
            addCriterion("ACCODE_ <>", value, "accode");
            return (Criteria) this;
        }

        public Criteria andAccodeGreaterThan(String value) {
            addCriterion("ACCODE_ >", value, "accode");
            return (Criteria) this;
        }

        public Criteria andAccodeGreaterThanOrEqualTo(String value) {
            addCriterion("ACCODE_ >=", value, "accode");
            return (Criteria) this;
        }

        public Criteria andAccodeLessThan(String value) {
            addCriterion("ACCODE_ <", value, "accode");
            return (Criteria) this;
        }

        public Criteria andAccodeLessThanOrEqualTo(String value) {
            addCriterion("ACCODE_ <=", value, "accode");
            return (Criteria) this;
        }

        public Criteria andAccodeLike(String value) {
            addCriterion("ACCODE_ like", value, "accode");
            return (Criteria) this;
        }

        public Criteria andAccodeNotLike(String value) {
            addCriterion("ACCODE_ not like", value, "accode");
            return (Criteria) this;
        }

        public Criteria andAccodeIn(List<String> values) {
            addCriterion("ACCODE_ in", values, "accode");
            return (Criteria) this;
        }

        public Criteria andAccodeNotIn(List<String> values) {
            addCriterion("ACCODE_ not in", values, "accode");
            return (Criteria) this;
        }

        public Criteria andAccodeBetween(String value1, String value2) {
            addCriterion("ACCODE_ between", value1, value2, "accode");
            return (Criteria) this;
        }

        public Criteria andAccodeNotBetween(String value1, String value2) {
            addCriterion("ACCODE_ not between", value1, value2, "accode");
            return (Criteria) this;
        }

        public Criteria andAttributesIsNull() {
            addCriterion("ATTRIBUTES_ is null");
            return (Criteria) this;
        }

        public Criteria andAttributesIsNotNull() {
            addCriterion("ATTRIBUTES_ is not null");
            return (Criteria) this;
        }

        public Criteria andAttributesEqualTo(String value) {
            addCriterion("ATTRIBUTES_ =", value, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesNotEqualTo(String value) {
            addCriterion("ATTRIBUTES_ <>", value, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesGreaterThan(String value) {
            addCriterion("ATTRIBUTES_ >", value, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesGreaterThanOrEqualTo(String value) {
            addCriterion("ATTRIBUTES_ >=", value, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesLessThan(String value) {
            addCriterion("ATTRIBUTES_ <", value, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesLessThanOrEqualTo(String value) {
            addCriterion("ATTRIBUTES_ <=", value, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesLike(String value) {
            addCriterion("ATTRIBUTES_ like", value, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesNotLike(String value) {
            addCriterion("ATTRIBUTES_ not like", value, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesIn(List<String> values) {
            addCriterion("ATTRIBUTES_ in", values, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesNotIn(List<String> values) {
            addCriterion("ATTRIBUTES_ not in", values, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesBetween(String value1, String value2) {
            addCriterion("ATTRIBUTES_ between", value1, value2, "attributes");
            return (Criteria) this;
        }

        public Criteria andAttributesNotBetween(String value1, String value2) {
            addCriterion("ATTRIBUTES_ not between", value1, value2, "attributes");
            return (Criteria) this;
        }

        public Criteria andCodeIsNull() {
            addCriterion("CODE_ is null");
            return (Criteria) this;
        }

        public Criteria andCodeIsNotNull() {
            addCriterion("CODE_ is not null");
            return (Criteria) this;
        }

        public Criteria andCodeEqualTo(String value) {
            addCriterion("CODE_ =", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotEqualTo(String value) {
            addCriterion("CODE_ <>", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThan(String value) {
            addCriterion("CODE_ >", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeGreaterThanOrEqualTo(String value) {
            addCriterion("CODE_ >=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThan(String value) {
            addCriterion("CODE_ <", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLessThanOrEqualTo(String value) {
            addCriterion("CODE_ <=", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeLike(String value) {
            addCriterion("CODE_ like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotLike(String value) {
            addCriterion("CODE_ not like", value, "code");
            return (Criteria) this;
        }

        public Criteria andCodeIn(List<String> values) {
            addCriterion("CODE_ in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotIn(List<String> values) {
            addCriterion("CODE_ not in", values, "code");
            return (Criteria) this;
        }

        public Criteria andCodeBetween(String value1, String value2) {
            addCriterion("CODE_ between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCodeNotBetween(String value1, String value2) {
            addCriterion("CODE_ not between", value1, value2, "code");
            return (Criteria) this;
        }

        public Criteria andCommentIsNull() {
            addCriterion("COMMENT_ is null");
            return (Criteria) this;
        }

        public Criteria andCommentIsNotNull() {
            addCriterion("COMMENT_ is not null");
            return (Criteria) this;
        }

        public Criteria andCommentEqualTo(String value) {
            addCriterion("COMMENT_ =", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotEqualTo(String value) {
            addCriterion("COMMENT_ <>", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThan(String value) {
            addCriterion("COMMENT_ >", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentGreaterThanOrEqualTo(String value) {
            addCriterion("COMMENT_ >=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThan(String value) {
            addCriterion("COMMENT_ <", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLessThanOrEqualTo(String value) {
            addCriterion("COMMENT_ <=", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentLike(String value) {
            addCriterion("COMMENT_ like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotLike(String value) {
            addCriterion("COMMENT_ not like", value, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentIn(List<String> values) {
            addCriterion("COMMENT_ in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotIn(List<String> values) {
            addCriterion("COMMENT_ not in", values, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentBetween(String value1, String value2) {
            addCriterion("COMMENT_ between", value1, value2, "comment");
            return (Criteria) this;
        }

        public Criteria andCommentNotBetween(String value1, String value2) {
            addCriterion("COMMENT_ not between", value1, value2, "comment");
            return (Criteria) this;
        }


        public Criteria andFlagEqualTo(Long value) {
            addCriterion("FLAG_ =", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotEqualTo(Long value) {
            addCriterion("FLAG_ <>", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThan(Long value) {
            addCriterion("FLAG_ >", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThanOrEqualTo(Long value) {
            addCriterion("FLAG_ >=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThan(Long value) {
            addCriterion("FLAG_ <", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThanOrEqualTo(Long value) {
            addCriterion("FLAG_ <=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagIn(List<Long> values) {
            addCriterion("FLAG_ in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotIn(List<Long> values) {
            addCriterion("FLAG_ not in", values, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagBetween(Long value1, Long value2) {
            addCriterion("FLAG_ between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotBetween(Long value1, Long value2) {
            addCriterion("FLAG_ not between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andIndexcodeIsNull() {
            addCriterion("INDEXCODE_ is null");
            return (Criteria) this;
        }

        public Criteria andIndexcodeIsNotNull() {
            addCriterion("INDEXCODE_ is not null");
            return (Criteria) this;
        }

        public Criteria andIndexcodeEqualTo(String value) {
            addCriterion("INDEXCODE_ =", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeNotEqualTo(String value) {
            addCriterion("INDEXCODE_ <>", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeGreaterThan(String value) {
            addCriterion("INDEXCODE_ >", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeGreaterThanOrEqualTo(String value) {
            addCriterion("INDEXCODE_ >=", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeLessThan(String value) {
            addCriterion("INDEXCODE_ <", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeLessThanOrEqualTo(String value) {
            addCriterion("INDEXCODE_ <=", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeLike(String value) {
            addCriterion("INDEXCODE_ like", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeNotLike(String value) {
            addCriterion("INDEXCODE_ not like", value, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeIn(List<String> values) {
            addCriterion("INDEXCODE_ in", values, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeNotIn(List<String> values) {
            addCriterion("INDEXCODE_ not in", values, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeBetween(String value1, String value2) {
            addCriterion("INDEXCODE_ between", value1, value2, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIndexcodeNotBetween(String value1, String value2) {
            addCriterion("INDEXCODE_ not between", value1, value2, "indexcode");
            return (Criteria) this;
        }

        public Criteria andIsleafIsNull() {
            addCriterion("ISLEAF_ is null");
            return (Criteria) this;
        }

        public Criteria andIsleafIsNotNull() {
            addCriterion("ISLEAF_ is not null");
            return (Criteria) this;
        }

        public Criteria andIsleafEqualTo(Long value) {
            addCriterion("ISLEAF_ =", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafNotEqualTo(Long value) {
            addCriterion("ISLEAF_ <>", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafGreaterThan(Long value) {
            addCriterion("ISLEAF_ >", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafGreaterThanOrEqualTo(Long value) {
            addCriterion("ISLEAF_ >=", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafLessThan(Long value) {
            addCriterion("ISLEAF_ <", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafLessThanOrEqualTo(Long value) {
            addCriterion("ISLEAF_ <=", value, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafIn(List<Long> values) {
            addCriterion("ISLEAF_ in", values, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafNotIn(List<Long> values) {
            addCriterion("ISLEAF_ not in", values, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafBetween(Long value1, Long value2) {
            addCriterion("ISLEAF_ between", value1, value2, "isleaf");
            return (Criteria) this;
        }

        public Criteria andIsleafNotBetween(Long value1, Long value2) {
            addCriterion("ISLEAF_ not between", value1, value2, "isleaf");
            return (Criteria) this;
        }

        public Criteria andLevelIsNull() {
            addCriterion("LEVEL_ is null");
            return (Criteria) this;
        }

        public Criteria andLevelIsNotNull() {
            addCriterion("LEVEL_ is not null");
            return (Criteria) this;
        }

        public Criteria andLevelEqualTo(Long value) {
            addCriterion("LEVEL_ =", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotEqualTo(Long value) {
            addCriterion("LEVEL_ <>", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThan(Long value) {
            addCriterion("LEVEL_ >", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelGreaterThanOrEqualTo(Long value) {
            addCriterion("LEVEL_ >=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThan(Long value) {
            addCriterion("LEVEL_ <", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelLessThanOrEqualTo(Long value) {
            addCriterion("LEVEL_ <=", value, "level");
            return (Criteria) this;
        }

        public Criteria andLevelIn(List<Long> values) {
            addCriterion("LEVEL_ in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotIn(List<Long> values) {
            addCriterion("LEVEL_ not in", values, "level");
            return (Criteria) this;
        }

        public Criteria andLevelBetween(Long value1, Long value2) {
            addCriterion("LEVEL_ between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andLevelNotBetween(Long value1, Long value2) {
            addCriterion("LEVEL_ not between", value1, value2, "level");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("NAME_ is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("NAME_ is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("NAME_ =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("NAME_ <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("NAME_ >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("NAME_ >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("NAME_ <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("NAME_ <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("NAME_ like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("NAME_ not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("NAME_ in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("NAME_ not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("NAME_ between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("NAME_ not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameenIsNull() {
            addCriterion("NAMEEN_ is null");
            return (Criteria) this;
        }

        public Criteria andNameenIsNotNull() {
            addCriterion("NAMEEN_ is not null");
            return (Criteria) this;
        }

        public Criteria andNameenEqualTo(String value) {
            addCriterion("NAMEEN_ =", value, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenNotEqualTo(String value) {
            addCriterion("NAMEEN_ <>", value, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenGreaterThan(String value) {
            addCriterion("NAMEEN_ >", value, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenGreaterThanOrEqualTo(String value) {
            addCriterion("NAMEEN_ >=", value, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenLessThan(String value) {
            addCriterion("NAMEEN_ <", value, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenLessThanOrEqualTo(String value) {
            addCriterion("NAMEEN_ <=", value, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenLike(String value) {
            addCriterion("NAMEEN_ like", value, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenNotLike(String value) {
            addCriterion("NAMEEN_ not like", value, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenIn(List<String> values) {
            addCriterion("NAMEEN_ in", values, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenNotIn(List<String> values) {
            addCriterion("NAMEEN_ not in", values, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenBetween(String value1, String value2) {
            addCriterion("NAMEEN_ between", value1, value2, "nameen");
            return (Criteria) this;
        }

        public Criteria andNameenNotBetween(String value1, String value2) {
            addCriterion("NAMEEN_ not between", value1, value2, "nameen");
            return (Criteria) this;
        }

        public Criteria andNamesIsNull() {
            addCriterion("NAMES_ is null");
            return (Criteria) this;
        }

        public Criteria andNamesIsNotNull() {
            addCriterion("NAMES_ is not null");
            return (Criteria) this;
        }

        public Criteria andNamesEqualTo(String value) {
            addCriterion("NAMES_ =", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesNotEqualTo(String value) {
            addCriterion("NAMES_ <>", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesGreaterThan(String value) {
            addCriterion("NAMES_ >", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesGreaterThanOrEqualTo(String value) {
            addCriterion("NAMES_ >=", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesLessThan(String value) {
            addCriterion("NAMES_ <", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesLessThanOrEqualTo(String value) {
            addCriterion("NAMES_ <=", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesLike(String value) {
            addCriterion("NAMES_ like", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesNotLike(String value) {
            addCriterion("NAMES_ not like", value, "names");
            return (Criteria) this;
        }

        public Criteria andNamesIn(List<String> values) {
            addCriterion("NAMES_ in", values, "names");
            return (Criteria) this;
        }

        public Criteria andNamesNotIn(List<String> values) {
            addCriterion("NAMES_ not in", values, "names");
            return (Criteria) this;
        }

        public Criteria andNamesBetween(String value1, String value2) {
            addCriterion("NAMES_ between", value1, value2, "names");
            return (Criteria) this;
        }

        public Criteria andNamesNotBetween(String value1, String value2) {
            addCriterion("NAMES_ not between", value1, value2, "names");
            return (Criteria) this;
        }

        public Criteria andNamesenIsNull() {
            addCriterion("NAMESEN_ is null");
            return (Criteria) this;
        }

        public Criteria andNamesenIsNotNull() {
            addCriterion("NAMESEN_ is not null");
            return (Criteria) this;
        }

        public Criteria andNamesenEqualTo(String value) {
            addCriterion("NAMESEN_ =", value, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenNotEqualTo(String value) {
            addCriterion("NAMESEN_ <>", value, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenGreaterThan(String value) {
            addCriterion("NAMESEN_ >", value, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenGreaterThanOrEqualTo(String value) {
            addCriterion("NAMESEN_ >=", value, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenLessThan(String value) {
            addCriterion("NAMESEN_ <", value, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenLessThanOrEqualTo(String value) {
            addCriterion("NAMESEN_ <=", value, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenLike(String value) {
            addCriterion("NAMESEN_ like", value, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenNotLike(String value) {
            addCriterion("NAMESEN_ not like", value, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenIn(List<String> values) {
            addCriterion("NAMESEN_ in", values, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenNotIn(List<String> values) {
            addCriterion("NAMESEN_ not in", values, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenBetween(String value1, String value2) {
            addCriterion("NAMESEN_ between", value1, value2, "namesen");
            return (Criteria) this;
        }

        public Criteria andNamesenNotBetween(String value1, String value2) {
            addCriterion("NAMESEN_ not between", value1, value2, "namesen");
            return (Criteria) this;
        }

        public Criteria andParentIsNull() {
            addCriterion("PARENT_ is null");
            return (Criteria) this;
        }

        public Criteria andParentIsNotNull() {
            addCriterion("PARENT_ is not null");
            return (Criteria) this;
        }

        public Criteria andParentEqualTo(String value) {
            addCriterion("PARENT_ =", value, "parent");
            return (Criteria) this;
        }

        public Criteria andParentNotEqualTo(String value) {
            addCriterion("PARENT_ <>", value, "parent");
            return (Criteria) this;
        }

        public Criteria andParentGreaterThan(String value) {
            addCriterion("PARENT_ >", value, "parent");
            return (Criteria) this;
        }

        public Criteria andParentGreaterThanOrEqualTo(String value) {
            addCriterion("PARENT_ >=", value, "parent");
            return (Criteria) this;
        }

        public Criteria andParentLessThan(String value) {
            addCriterion("PARENT_ <", value, "parent");
            return (Criteria) this;
        }

        public Criteria andParentLessThanOrEqualTo(String value) {
            addCriterion("PARENT_ <=", value, "parent");
            return (Criteria) this;
        }

        public Criteria andParentLike(String value) {
            addCriterion("PARENT_ like", value, "parent");
            return (Criteria) this;
        }

        public Criteria andParentNotLike(String value) {
            addCriterion("PARENT_ not like", value, "parent");
            return (Criteria) this;
        }

        public Criteria andParentIn(List<String> values) {
            addCriterion("PARENT_ in", values, "parent");
            return (Criteria) this;
        }

        public Criteria andParentNotIn(List<String> values) {
            addCriterion("PARENT_ not in", values, "parent");
            return (Criteria) this;
        }

        public Criteria andParentBetween(String value1, String value2) {
            addCriterion("PARENT_ between", value1, value2, "parent");
            return (Criteria) this;
        }

        public Criteria andParentNotBetween(String value1, String value2) {
            addCriterion("PARENT_ not between", value1, value2, "parent");
            return (Criteria) this;
        }

        public Criteria andParentidIsNull() {
            addCriterion("PARENTID_ is null");
            return (Criteria) this;
        }

        public Criteria andParentidIsNotNull() {
            addCriterion("PARENTID_ is not null");
            return (Criteria) this;
        }

        public Criteria andParentidEqualTo(Long value) {
            addCriterion("PARENTID_ =", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotEqualTo(Long value) {
            addCriterion("PARENTID_ <>", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThan(Long value) {
            addCriterion("PARENTID_ >", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidGreaterThanOrEqualTo(Long value) {
            addCriterion("PARENTID_ >=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThan(Long value) {
            addCriterion("PARENTID_ <", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidLessThanOrEqualTo(Long value) {
            addCriterion("PARENTID_ <=", value, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidIn(List<Long> values) {
            addCriterion("PARENTID_ in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotIn(List<Long> values) {
            addCriterion("PARENTID_ not in", values, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidBetween(Long value1, Long value2) {
            addCriterion("PARENTID_ between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andParentidNotBetween(Long value1, Long value2) {
            addCriterion("PARENTID_ not between", value1, value2, "parentid");
            return (Criteria) this;
        }

        public Criteria andSeqnoIsNull() {
            addCriterion("SEQNO_ is null");
            return (Criteria) this;
        }

        public Criteria andSeqnoIsNotNull() {
            addCriterion("SEQNO_ is not null");
            return (Criteria) this;
        }

        public Criteria andSeqnoEqualTo(String value) {
            addCriterion("SEQNO_ =", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoNotEqualTo(String value) {
            addCriterion("SEQNO_ <>", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoGreaterThan(String value) {
            addCriterion("SEQNO_ >", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoGreaterThanOrEqualTo(String value) {
            addCriterion("SEQNO_ >=", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoLessThan(String value) {
            addCriterion("SEQNO_ <", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoLessThanOrEqualTo(String value) {
            addCriterion("SEQNO_ <=", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoLike(String value) {
            addCriterion("SEQNO_ like", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoNotLike(String value) {
            addCriterion("SEQNO_ not like", value, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoIn(List<String> values) {
            addCriterion("SEQNO_ in", values, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoNotIn(List<String> values) {
            addCriterion("SEQNO_ not in", values, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoBetween(String value1, String value2) {
            addCriterion("SEQNO_ between", value1, value2, "seqno");
            return (Criteria) this;
        }

        public Criteria andSeqnoNotBetween(String value1, String value2) {
            addCriterion("SEQNO_ not between", value1, value2, "seqno");
            return (Criteria) this;
        }

        public Criteria andStatcodeIsNull() {
            addCriterion("STATCODE_ is null");
            return (Criteria) this;
        }

        public Criteria andStatcodeIsNotNull() {
            addCriterion("STATCODE_ is not null");
            return (Criteria) this;
        }

        public Criteria andStatcodeEqualTo(String value) {
            addCriterion("STATCODE_ =", value, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeNotEqualTo(String value) {
            addCriterion("STATCODE_ <>", value, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeGreaterThan(String value) {
            addCriterion("STATCODE_ >", value, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeGreaterThanOrEqualTo(String value) {
            addCriterion("STATCODE_ >=", value, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeLessThan(String value) {
            addCriterion("STATCODE_ <", value, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeLessThanOrEqualTo(String value) {
            addCriterion("STATCODE_ <=", value, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeLike(String value) {
            addCriterion("STATCODE_ like", value, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeNotLike(String value) {
            addCriterion("STATCODE_ not like", value, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeIn(List<String> values) {
            addCriterion("STATCODE_ in", values, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeNotIn(List<String> values) {
            addCriterion("STATCODE_ not in", values, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeBetween(String value1, String value2) {
            addCriterion("STATCODE_ between", value1, value2, "statcode");
            return (Criteria) this;
        }

        public Criteria andStatcodeNotBetween(String value1, String value2) {
            addCriterion("STATCODE_ not between", value1, value2, "statcode");
            return (Criteria) this;
        }

        public Criteria andCnameIsNull() {
            addCriterion("CNAME_ is null");
            return (Criteria) this;
        }

        public Criteria andCnameIsNotNull() {
            addCriterion("CNAME_ is not null");
            return (Criteria) this;
        }

        public Criteria andCnameEqualTo(String value) {
            addCriterion("CNAME_ =", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotEqualTo(String value) {
            addCriterion("CNAME_ <>", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameGreaterThan(String value) {
            addCriterion("CNAME_ >", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameGreaterThanOrEqualTo(String value) {
            addCriterion("CNAME_ >=", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLessThan(String value) {
            addCriterion("CNAME_ <", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLessThanOrEqualTo(String value) {
            addCriterion("CNAME_ <=", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameLike(String value) {
            addCriterion("CNAME_ like", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotLike(String value) {
            addCriterion("CNAME_ not like", value, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameIn(List<String> values) {
            addCriterion("CNAME_ in", values, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotIn(List<String> values) {
            addCriterion("CNAME_ not in", values, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameBetween(String value1, String value2) {
            addCriterion("CNAME_ between", value1, value2, "cname");
            return (Criteria) this;
        }

        public Criteria andCnameNotBetween(String value1, String value2) {
            addCriterion("CNAME_ not between", value1, value2, "cname");
            return (Criteria) this;
        }

        public Criteria andAccodeflagIsNull() {
            addCriterion("ACCODEFLAG_ is null");
            return (Criteria) this;
        }

        public Criteria andAccodeflagIsNotNull() {
            addCriterion("ACCODEFLAG_ is not null");
            return (Criteria) this;
        }

        public Criteria andAccodeflagEqualTo(String value) {
            addCriterion("ACCODEFLAG_ =", value, "accodeflag");
            return (Criteria) this;
        }

        public Criteria andAccodeflagNotEqualTo(String value) {
            addCriterion("ACCODEFLAG_ <>", value, "accodeflag");
            return (Criteria) this;
        }

        public Criteria andAccodeflagGreaterThan(String value) {
            addCriterion("ACCODEFLAG_ >", value, "accodeflag");
            return (Criteria) this;
        }

        public Criteria andAccodeflagGreaterThanOrEqualTo(String value) {
            addCriterion("ACCODEFLAG_ >=", value, "accodeflag");
            return (Criteria) this;
        }

        public Criteria andAccodeflagLessThan(String value) {
            addCriterion("ACCODEFLAG_ <", value, "accodeflag");
            return (Criteria) this;
        }

        public Criteria andAccodeflagLessThanOrEqualTo(String value) {
            addCriterion("ACCODEFLAG_ <=", value, "accodeflag");
            return (Criteria) this;
        }

        public Criteria andAccodeflagLike(String value) {
            addCriterion("ACCODEFLAG_ like", value, "accodeflag");
            return (Criteria) this;
        }

        public Criteria andAccodeflagNotLike(String value) {
            addCriterion("ACCODEFLAG_ not like", value, "accodeflag");
            return (Criteria) this;
        }

        public Criteria andAccodeflagIn(List<String> values) {
            addCriterion("ACCODEFLAG_ in", values, "accodeflag");
            return (Criteria) this;
        }

        public Criteria andAccodeflagNotIn(List<String> values) {
            addCriterion("ACCODEFLAG_ not in", values, "accodeflag");
            return (Criteria) this;
        }

        public Criteria andAccodeflagBetween(String value1, String value2) {
            addCriterion("ACCODEFLAG_ between", value1, value2, "accodeflag");
            return (Criteria) this;
        }

        public Criteria andAccodeflagNotBetween(String value1, String value2) {
            addCriterion("ACCODEFLAG_ not between", value1, value2, "accodeflag");
            return (Criteria) this;
        }

        public Criteria andManflagIsNull() {
            addCriterion("MANFLAG_ is null");
            return (Criteria) this;
        }

        public Criteria andManflagIsNotNull() {
            addCriterion("MANFLAG_ is not null");
            return (Criteria) this;
        }

        public Criteria andManflagEqualTo(String value) {
            addCriterion("MANFLAG_ =", value, "manflag");
            return (Criteria) this;
        }

        public Criteria andManflagNotEqualTo(String value) {
            addCriterion("MANFLAG_ <>", value, "manflag");
            return (Criteria) this;
        }

        public Criteria andManflagGreaterThan(String value) {
            addCriterion("MANFLAG_ >", value, "manflag");
            return (Criteria) this;
        }

        public Criteria andManflagGreaterThanOrEqualTo(String value) {
            addCriterion("MANFLAG_ >=", value, "manflag");
            return (Criteria) this;
        }

        public Criteria andManflagLessThan(String value) {
            addCriterion("MANFLAG_ <", value, "manflag");
            return (Criteria) this;
        }

        public Criteria andManflagLessThanOrEqualTo(String value) {
            addCriterion("MANFLAG_ <=", value, "manflag");
            return (Criteria) this;
        }

        public Criteria andManflagLike(String value) {
            addCriterion("MANFLAG_ like", value, "manflag");
            return (Criteria) this;
        }

        public Criteria andManflagNotLike(String value) {
            addCriterion("MANFLAG_ not like", value, "manflag");
            return (Criteria) this;
        }

        public Criteria andManflagIn(List<String> values) {
            addCriterion("MANFLAG_ in", values, "manflag");
            return (Criteria) this;
        }

        public Criteria andManflagNotIn(List<String> values) {
            addCriterion("MANFLAG_ not in", values, "manflag");
            return (Criteria) this;
        }

        public Criteria andManflagBetween(String value1, String value2) {
            addCriterion("MANFLAG_ between", value1, value2, "manflag");
            return (Criteria) this;
        }

        public Criteria andManflagNotBetween(String value1, String value2) {
            addCriterion("MANFLAG_ not between", value1, value2, "manflag");
            return (Criteria) this;
        }

        public Criteria andNodeathflagIsNull() {
            addCriterion("NODEATHFLAG_ is null");
            return (Criteria) this;
        }

        public Criteria andNodeathflagIsNotNull() {
            addCriterion("NODEATHFLAG_ is not null");
            return (Criteria) this;
        }

        public Criteria andNodeathflagEqualTo(String value) {
            addCriterion("NODEATHFLAG_ =", value, "nodeathflag");
            return (Criteria) this;
        }

        public Criteria andNodeathflagNotEqualTo(String value) {
            addCriterion("NODEATHFLAG_ <>", value, "nodeathflag");
            return (Criteria) this;
        }

        public Criteria andNodeathflagGreaterThan(String value) {
            addCriterion("NODEATHFLAG_ >", value, "nodeathflag");
            return (Criteria) this;
        }

        public Criteria andNodeathflagGreaterThanOrEqualTo(String value) {
            addCriterion("NODEATHFLAG_ >=", value, "nodeathflag");
            return (Criteria) this;
        }

        public Criteria andNodeathflagLessThan(String value) {
            addCriterion("NODEATHFLAG_ <", value, "nodeathflag");
            return (Criteria) this;
        }

        public Criteria andNodeathflagLessThanOrEqualTo(String value) {
            addCriterion("NODEATHFLAG_ <=", value, "nodeathflag");
            return (Criteria) this;
        }

        public Criteria andNodeathflagLike(String value) {
            addCriterion("NODEATHFLAG_ like", value, "nodeathflag");
            return (Criteria) this;
        }

        public Criteria andNodeathflagNotLike(String value) {
            addCriterion("NODEATHFLAG_ not like", value, "nodeathflag");
            return (Criteria) this;
        }

        public Criteria andNodeathflagIn(List<String> values) {
            addCriterion("NODEATHFLAG_ in", values, "nodeathflag");
            return (Criteria) this;
        }

        public Criteria andNodeathflagNotIn(List<String> values) {
            addCriterion("NODEATHFLAG_ not in", values, "nodeathflag");
            return (Criteria) this;
        }

        public Criteria andNodeathflagBetween(String value1, String value2) {
            addCriterion("NODEATHFLAG_ between", value1, value2, "nodeathflag");
            return (Criteria) this;
        }

        public Criteria andNodeathflagNotBetween(String value1, String value2) {
            addCriterion("NODEATHFLAG_ not between", value1, value2, "nodeathflag");
            return (Criteria) this;
        }

        public Criteria andWomanflagIsNull() {
            addCriterion("WOMANFLAG_ is null");
            return (Criteria) this;
        }

        public Criteria andWomanflagIsNotNull() {
            addCriterion("WOMANFLAG_ is not null");
            return (Criteria) this;
        }

        public Criteria andWomanflagEqualTo(String value) {
            addCriterion("WOMANFLAG_ =", value, "womanflag");
            return (Criteria) this;
        }

        public Criteria andWomanflagNotEqualTo(String value) {
            addCriterion("WOMANFLAG_ <>", value, "womanflag");
            return (Criteria) this;
        }

        public Criteria andWomanflagGreaterThan(String value) {
            addCriterion("WOMANFLAG_ >", value, "womanflag");
            return (Criteria) this;
        }

        public Criteria andWomanflagGreaterThanOrEqualTo(String value) {
            addCriterion("WOMANFLAG_ >=", value, "womanflag");
            return (Criteria) this;
        }

        public Criteria andWomanflagLessThan(String value) {
            addCriterion("WOMANFLAG_ <", value, "womanflag");
            return (Criteria) this;
        }

        public Criteria andWomanflagLessThanOrEqualTo(String value) {
            addCriterion("WOMANFLAG_ <=", value, "womanflag");
            return (Criteria) this;
        }

        public Criteria andWomanflagLike(String value) {
            addCriterion("WOMANFLAG_ like", value, "womanflag");
            return (Criteria) this;
        }

        public Criteria andWomanflagNotLike(String value) {
            addCriterion("WOMANFLAG_ not like", value, "womanflag");
            return (Criteria) this;
        }

        public Criteria andWomanflagIn(List<String> values) {
            addCriterion("WOMANFLAG_ in", values, "womanflag");
            return (Criteria) this;
        }

        public Criteria andWomanflagNotIn(List<String> values) {
            addCriterion("WOMANFLAG_ not in", values, "womanflag");
            return (Criteria) this;
        }

        public Criteria andWomanflagBetween(String value1, String value2) {
            addCriterion("WOMANFLAG_ between", value1, value2, "womanflag");
            return (Criteria) this;
        }

        public Criteria andWomanflagNotBetween(String value1, String value2) {
            addCriterion("WOMANFLAG_ not between", value1, value2, "womanflag");
            return (Criteria) this;
        }

        public Criteria andDocumentzIsNull() {
            addCriterion("DOCUMENTZ_ is null");
            return (Criteria) this;
        }

        public Criteria andDocumentzIsNotNull() {
            addCriterion("DOCUMENTZ_ is not null");
            return (Criteria) this;
        }

        public Criteria andDocumentzEqualTo(String value) {
            addCriterion("DOCUMENTZ_ =", value, "documentz");
            return (Criteria) this;
        }

        public Criteria andDocumentzNotEqualTo(String value) {
            addCriterion("DOCUMENTZ_ <>", value, "documentz");
            return (Criteria) this;
        }

        public Criteria andDocumentzGreaterThan(String value) {
            addCriterion("DOCUMENTZ_ >", value, "documentz");
            return (Criteria) this;
        }

        public Criteria andDocumentzGreaterThanOrEqualTo(String value) {
            addCriterion("DOCUMENTZ_ >=", value, "documentz");
            return (Criteria) this;
        }

        public Criteria andDocumentzLessThan(String value) {
            addCriterion("DOCUMENTZ_ <", value, "documentz");
            return (Criteria) this;
        }

        public Criteria andDocumentzLessThanOrEqualTo(String value) {
            addCriterion("DOCUMENTZ_ <=", value, "documentz");
            return (Criteria) this;
        }

        public Criteria andDocumentzLike(String value) {
            addCriterion("DOCUMENTZ_ like", value, "documentz");
            return (Criteria) this;
        }

        public Criteria andDocumentzNotLike(String value) {
            addCriterion("DOCUMENTZ_ not like", value, "documentz");
            return (Criteria) this;
        }

        public Criteria andDocumentzIn(List<String> values) {
            addCriterion("DOCUMENTZ_ in", values, "documentz");
            return (Criteria) this;
        }

        public Criteria andDocumentzNotIn(List<String> values) {
            addCriterion("DOCUMENTZ_ not in", values, "documentz");
            return (Criteria) this;
        }

        public Criteria andDocumentzBetween(String value1, String value2) {
            addCriterion("DOCUMENTZ_ between", value1, value2, "documentz");
            return (Criteria) this;
        }

        public Criteria andDocumentzNotBetween(String value1, String value2) {
            addCriterion("DOCUMENTZ_ not between", value1, value2, "documentz");
            return (Criteria) this;
        }

        public Criteria andLinkzIsNull() {
            addCriterion("LINKZ_ is null");
            return (Criteria) this;
        }

        public Criteria andLinkzIsNotNull() {
            addCriterion("LINKZ_ is not null");
            return (Criteria) this;
        }

        public Criteria andLinkzEqualTo(String value) {
            addCriterion("LINKZ_ =", value, "linkz");
            return (Criteria) this;
        }

        public Criteria andLinkzNotEqualTo(String value) {
            addCriterion("LINKZ_ <>", value, "linkz");
            return (Criteria) this;
        }

        public Criteria andLinkzGreaterThan(String value) {
            addCriterion("LINKZ_ >", value, "linkz");
            return (Criteria) this;
        }

        public Criteria andLinkzGreaterThanOrEqualTo(String value) {
            addCriterion("LINKZ_ >=", value, "linkz");
            return (Criteria) this;
        }

        public Criteria andLinkzLessThan(String value) {
            addCriterion("LINKZ_ <", value, "linkz");
            return (Criteria) this;
        }

        public Criteria andLinkzLessThanOrEqualTo(String value) {
            addCriterion("LINKZ_ <=", value, "linkz");
            return (Criteria) this;
        }

        public Criteria andLinkzLike(String value) {
            addCriterion("LINKZ_ like", value, "linkz");
            return (Criteria) this;
        }

        public Criteria andLinkzNotLike(String value) {
            addCriterion("LINKZ_ not like", value, "linkz");
            return (Criteria) this;
        }

        public Criteria andLinkzIn(List<String> values) {
            addCriterion("LINKZ_ in", values, "linkz");
            return (Criteria) this;
        }

        public Criteria andLinkzNotIn(List<String> values) {
            addCriterion("LINKZ_ not in", values, "linkz");
            return (Criteria) this;
        }

        public Criteria andLinkzBetween(String value1, String value2) {
            addCriterion("LINKZ_ between", value1, value2, "linkz");
            return (Criteria) this;
        }

        public Criteria andLinkzNotBetween(String value1, String value2) {
            addCriterion("LINKZ_ not between", value1, value2, "linkz");
            return (Criteria) this;
        }

        public Criteria andLineageIsNull() {
            addCriterion("LINEAGE_ is null");
            return (Criteria) this;
        }

        public Criteria andLineageIsNotNull() {
            addCriterion("LINEAGE_ is not null");
            return (Criteria) this;
        }

        public Criteria andLineageEqualTo(String value) {
            addCriterion("LINEAGE_ =", value, "lineage");
            return (Criteria) this;
        }

        public Criteria andLineageNotEqualTo(String value) {
            addCriterion("LINEAGE_ <>", value, "lineage");
            return (Criteria) this;
        }

        public Criteria andLineageGreaterThan(String value) {
            addCriterion("LINEAGE_ >", value, "lineage");
            return (Criteria) this;
        }

        public Criteria andLineageGreaterThanOrEqualTo(String value) {
            addCriterion("LINEAGE_ >=", value, "lineage");
            return (Criteria) this;
        }

        public Criteria andLineageLessThan(String value) {
            addCriterion("LINEAGE_ <", value, "lineage");
            return (Criteria) this;
        }

        public Criteria andLineageLessThanOrEqualTo(String value) {
            addCriterion("LINEAGE_ <=", value, "lineage");
            return (Criteria) this;
        }

        public Criteria andLineageLike(String value) {
            addCriterion("LINEAGE_ like", value, "lineage");
            return (Criteria) this;
        }

        public Criteria andLineageNotLike(String value) {
            addCriterion("LINEAGE_ not like", value, "lineage");
            return (Criteria) this;
        }

        public Criteria andLineageIn(List<String> values) {
            addCriterion("LINEAGE_ in", values, "lineage");
            return (Criteria) this;
        }

        public Criteria andLineageNotIn(List<String> values) {
            addCriterion("LINEAGE_ not in", values, "lineage");
            return (Criteria) this;
        }

        public Criteria andLineageBetween(String value1, String value2) {
            addCriterion("LINEAGE_ between", value1, value2, "lineage");
            return (Criteria) this;
        }

        public Criteria andLineageNotBetween(String value1, String value2) {
            addCriterion("LINEAGE_ not between", value1, value2, "lineage");
            return (Criteria) this;
        }

        public Criteria andStopedflagIsNull() {
            addCriterion("STOPEDFLAG_ is null");
            return (Criteria) this;
        }

        public Criteria andStopedflagIsNotNull() {
            addCriterion("STOPEDFLAG_ is not null");
            return (Criteria) this;
        }

        public Criteria andStopedflagEqualTo(Long value) {
            addCriterion("STOPEDFLAG_ =", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagNotEqualTo(Long value) {
            addCriterion("STOPEDFLAG_ <>", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagGreaterThan(Long value) {
            addCriterion("STOPEDFLAG_ >", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagGreaterThanOrEqualTo(Long value) {
            addCriterion("STOPEDFLAG_ >=", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagLessThan(Long value) {
            addCriterion("STOPEDFLAG_ <", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagLessThanOrEqualTo(Long value) {
            addCriterion("STOPEDFLAG_ <=", value, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagIn(List<Long> values) {
            addCriterion("STOPEDFLAG_ in", values, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagNotIn(List<Long> values) {
            addCriterion("STOPEDFLAG_ not in", values, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagBetween(Long value1, Long value2) {
            addCriterion("STOPEDFLAG_ between", value1, value2, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andStopedflagNotBetween(Long value1, Long value2) {
            addCriterion("STOPEDFLAG_ not between", value1, value2, "stopedflag");
            return (Criteria) this;
        }

        public Criteria andNoprimaryflagIsNull() {
            addCriterion("NOPRIMARYFLAG_ is null");
            return (Criteria) this;
        }

        public Criteria andNoprimaryflagIsNotNull() {
            addCriterion("NOPRIMARYFLAG_ is not null");
            return (Criteria) this;
        }

        public Criteria andNoprimaryflagEqualTo(String value) {
            addCriterion("NOPRIMARYFLAG_ =", value, "noprimaryflag");
            return (Criteria) this;
        }

        public Criteria andNoprimaryflagNotEqualTo(String value) {
            addCriterion("NOPRIMARYFLAG_ <>", value, "noprimaryflag");
            return (Criteria) this;
        }

        public Criteria andNoprimaryflagGreaterThan(String value) {
            addCriterion("NOPRIMARYFLAG_ >", value, "noprimaryflag");
            return (Criteria) this;
        }

        public Criteria andNoprimaryflagGreaterThanOrEqualTo(String value) {
            addCriterion("NOPRIMARYFLAG_ >=", value, "noprimaryflag");
            return (Criteria) this;
        }

        public Criteria andNoprimaryflagLessThan(String value) {
            addCriterion("NOPRIMARYFLAG_ <", value, "noprimaryflag");
            return (Criteria) this;
        }

        public Criteria andNoprimaryflagLessThanOrEqualTo(String value) {
            addCriterion("NOPRIMARYFLAG_ <=", value, "noprimaryflag");
            return (Criteria) this;
        }

        public Criteria andNoprimaryflagLike(String value) {
            addCriterion("NOPRIMARYFLAG_ like", value, "noprimaryflag");
            return (Criteria) this;
        }

        public Criteria andNoprimaryflagNotLike(String value) {
            addCriterion("NOPRIMARYFLAG_ not like", value, "noprimaryflag");
            return (Criteria) this;
        }

        public Criteria andNoprimaryflagIn(List<String> values) {
            addCriterion("NOPRIMARYFLAG_ in", values, "noprimaryflag");
            return (Criteria) this;
        }

        public Criteria andNoprimaryflagNotIn(List<String> values) {
            addCriterion("NOPRIMARYFLAG_ not in", values, "noprimaryflag");
            return (Criteria) this;
        }

        public Criteria andNoprimaryflagBetween(String value1, String value2) {
            addCriterion("NOPRIMARYFLAG_ between", value1, value2, "noprimaryflag");
            return (Criteria) this;
        }

        public Criteria andNoprimaryflagNotBetween(String value1, String value2) {
            addCriterion("NOPRIMARYFLAG_ not between", value1, value2, "noprimaryflag");
            return (Criteria) this;
        }

        public Criteria andExternalcauseflagIsNull() {
            addCriterion("EXTERNALCAUSEFLAG_ is null");
            return (Criteria) this;
        }

        public Criteria andExternalcauseflagIsNotNull() {
            addCriterion("EXTERNALCAUSEFLAG_ is not null");
            return (Criteria) this;
        }

        public Criteria andExternalcauseflagEqualTo(String value) {
            addCriterion("EXTERNALCAUSEFLAG_ =", value, "externalcauseflag");
            return (Criteria) this;
        }

        public Criteria andExternalcauseflagNotEqualTo(String value) {
            addCriterion("EXTERNALCAUSEFLAG_ <>", value, "externalcauseflag");
            return (Criteria) this;
        }

        public Criteria andExternalcauseflagGreaterThan(String value) {
            addCriterion("EXTERNALCAUSEFLAG_ >", value, "externalcauseflag");
            return (Criteria) this;
        }

        public Criteria andExternalcauseflagGreaterThanOrEqualTo(String value) {
            addCriterion("EXTERNALCAUSEFLAG_ >=", value, "externalcauseflag");
            return (Criteria) this;
        }

        public Criteria andExternalcauseflagLessThan(String value) {
            addCriterion("EXTERNALCAUSEFLAG_ <", value, "externalcauseflag");
            return (Criteria) this;
        }

        public Criteria andExternalcauseflagLessThanOrEqualTo(String value) {
            addCriterion("EXTERNALCAUSEFLAG_ <=", value, "externalcauseflag");
            return (Criteria) this;
        }

        public Criteria andExternalcauseflagLike(String value) {
            addCriterion("EXTERNALCAUSEFLAG_ like", value, "externalcauseflag");
            return (Criteria) this;
        }

        public Criteria andExternalcauseflagNotLike(String value) {
            addCriterion("EXTERNALCAUSEFLAG_ not like", value, "externalcauseflag");
            return (Criteria) this;
        }

        public Criteria andExternalcauseflagIn(List<String> values) {
            addCriterion("EXTERNALCAUSEFLAG_ in", values, "externalcauseflag");
            return (Criteria) this;
        }

        public Criteria andExternalcauseflagNotIn(List<String> values) {
            addCriterion("EXTERNALCAUSEFLAG_ not in", values, "externalcauseflag");
            return (Criteria) this;
        }

        public Criteria andExternalcauseflagBetween(String value1, String value2) {
            addCriterion("EXTERNALCAUSEFLAG_ between", value1, value2, "externalcauseflag");
            return (Criteria) this;
        }

        public Criteria andExternalcauseflagNotBetween(String value1, String value2) {
            addCriterion("EXTERNALCAUSEFLAG_ not between", value1, value2, "externalcauseflag");
            return (Criteria) this;
        }

        public Criteria andTumourmorphologicflagIsNull() {
            addCriterion("TUMOURMORPHOLOGICFLAG_ is null");
            return (Criteria) this;
        }

        public Criteria andTumourmorphologicflagIsNotNull() {
            addCriterion("TUMOURMORPHOLOGICFLAG_ is not null");
            return (Criteria) this;
        }

        public Criteria andTumourmorphologicflagEqualTo(String value) {
            addCriterion("TUMOURMORPHOLOGICFLAG_ =", value, "tumourmorphologicflag");
            return (Criteria) this;
        }

        public Criteria andTumourmorphologicflagNotEqualTo(String value) {
            addCriterion("TUMOURMORPHOLOGICFLAG_ <>", value, "tumourmorphologicflag");
            return (Criteria) this;
        }

        public Criteria andTumourmorphologicflagGreaterThan(String value) {
            addCriterion("TUMOURMORPHOLOGICFLAG_ >", value, "tumourmorphologicflag");
            return (Criteria) this;
        }

        public Criteria andTumourmorphologicflagGreaterThanOrEqualTo(String value) {
            addCriterion("TUMOURMORPHOLOGICFLAG_ >=", value, "tumourmorphologicflag");
            return (Criteria) this;
        }

        public Criteria andTumourmorphologicflagLessThan(String value) {
            addCriterion("TUMOURMORPHOLOGICFLAG_ <", value, "tumourmorphologicflag");
            return (Criteria) this;
        }

        public Criteria andTumourmorphologicflagLessThanOrEqualTo(String value) {
            addCriterion("TUMOURMORPHOLOGICFLAG_ <=", value, "tumourmorphologicflag");
            return (Criteria) this;
        }

        public Criteria andTumourmorphologicflagLike(String value) {
            addCriterion("TUMOURMORPHOLOGICFLAG_ like", value, "tumourmorphologicflag");
            return (Criteria) this;
        }

        public Criteria andTumourmorphologicflagNotLike(String value) {
            addCriterion("TUMOURMORPHOLOGICFLAG_ not like", value, "tumourmorphologicflag");
            return (Criteria) this;
        }

        public Criteria andTumourmorphologicflagIn(List<String> values) {
            addCriterion("TUMOURMORPHOLOGICFLAG_ in", values, "tumourmorphologicflag");
            return (Criteria) this;
        }

        public Criteria andTumourmorphologicflagNotIn(List<String> values) {
            addCriterion("TUMOURMORPHOLOGICFLAG_ not in", values, "tumourmorphologicflag");
            return (Criteria) this;
        }

        public Criteria andTumourmorphologicflagBetween(String value1, String value2) {
            addCriterion("TUMOURMORPHOLOGICFLAG_ between", value1, value2, "tumourmorphologicflag");
            return (Criteria) this;
        }

        public Criteria andTumourmorphologicflagNotBetween(String value1, String value2) {
            addCriterion("TUMOURMORPHOLOGICFLAG_ not between", value1, value2, "tumourmorphologicflag");
            return (Criteria) this;
        }

        public Criteria andCnameindexIsNull() {
            addCriterion("CNAMEINDEX_ is null");
            return (Criteria) this;
        }

        public Criteria andCnameindexIsNotNull() {
            addCriterion("CNAMEINDEX_ is not null");
            return (Criteria) this;
        }

        public Criteria andCnameindexEqualTo(String value) {
            addCriterion("CNAMEINDEX_ =", value, "cnameindex");
            return (Criteria) this;
        }

        public Criteria andCnameindexNotEqualTo(String value) {
            addCriterion("CNAMEINDEX_ <>", value, "cnameindex");
            return (Criteria) this;
        }

        public Criteria andCnameindexGreaterThan(String value) {
            addCriterion("CNAMEINDEX_ >", value, "cnameindex");
            return (Criteria) this;
        }

        public Criteria andCnameindexGreaterThanOrEqualTo(String value) {
            addCriterion("CNAMEINDEX_ >=", value, "cnameindex");
            return (Criteria) this;
        }

        public Criteria andCnameindexLessThan(String value) {
            addCriterion("CNAMEINDEX_ <", value, "cnameindex");
            return (Criteria) this;
        }

        public Criteria andCnameindexLessThanOrEqualTo(String value) {
            addCriterion("CNAMEINDEX_ <=", value, "cnameindex");
            return (Criteria) this;
        }

        public Criteria andCnameindexLike(String value) {
            addCriterion("CNAMEINDEX_ like", value, "cnameindex");
            return (Criteria) this;
        }

        public Criteria andCnameindexNotLike(String value) {
            addCriterion("CNAMEINDEX_ not like", value, "cnameindex");
            return (Criteria) this;
        }

        public Criteria andCnameindexIn(List<String> values) {
            addCriterion("CNAMEINDEX_ in", values, "cnameindex");
            return (Criteria) this;
        }

        public Criteria andCnameindexNotIn(List<String> values) {
            addCriterion("CNAMEINDEX_ not in", values, "cnameindex");
            return (Criteria) this;
        }

        public Criteria andCnameindexBetween(String value1, String value2) {
            addCriterion("CNAMEINDEX_ between", value1, value2, "cnameindex");
            return (Criteria) this;
        }

        public Criteria andCnameindexNotBetween(String value1, String value2) {
            addCriterion("CNAMEINDEX_ not between", value1, value2, "cnameindex");
            return (Criteria) this;
        }

        public Criteria andStdconsultationsubjectIsNull() {
            addCriterion("STDCONSULTATIONSUBJECT_ is null");
            return (Criteria) this;
        }

        public Criteria andStdconsultationsubjectIsNotNull() {
            addCriterion("STDCONSULTATIONSUBJECT_ is not null");
            return (Criteria) this;
        }

        public Criteria andStdconsultationsubjectEqualTo(String value) {
            addCriterion("STDCONSULTATIONSUBJECT_ =", value, "stdconsultationsubject");
            return (Criteria) this;
        }

        public Criteria andStdconsultationsubjectNotEqualTo(String value) {
            addCriterion("STDCONSULTATIONSUBJECT_ <>", value, "stdconsultationsubject");
            return (Criteria) this;
        }

        public Criteria andStdconsultationsubjectGreaterThan(String value) {
            addCriterion("STDCONSULTATIONSUBJECT_ >", value, "stdconsultationsubject");
            return (Criteria) this;
        }

        public Criteria andStdconsultationsubjectGreaterThanOrEqualTo(String value) {
            addCriterion("STDCONSULTATIONSUBJECT_ >=", value, "stdconsultationsubject");
            return (Criteria) this;
        }

        public Criteria andStdconsultationsubjectLessThan(String value) {
            addCriterion("STDCONSULTATIONSUBJECT_ <", value, "stdconsultationsubject");
            return (Criteria) this;
        }

        public Criteria andStdconsultationsubjectLessThanOrEqualTo(String value) {
            addCriterion("STDCONSULTATIONSUBJECT_ <=", value, "stdconsultationsubject");
            return (Criteria) this;
        }

        public Criteria andStdconsultationsubjectLike(String value) {
            addCriterion("STDCONSULTATIONSUBJECT_ like", value, "stdconsultationsubject");
            return (Criteria) this;
        }

        public Criteria andStdconsultationsubjectNotLike(String value) {
            addCriterion("STDCONSULTATIONSUBJECT_ not like", value, "stdconsultationsubject");
            return (Criteria) this;
        }

        public Criteria andStdconsultationsubjectIn(List<String> values) {
            addCriterion("STDCONSULTATIONSUBJECT_ in", values, "stdconsultationsubject");
            return (Criteria) this;
        }

        public Criteria andStdconsultationsubjectNotIn(List<String> values) {
            addCriterion("STDCONSULTATIONSUBJECT_ not in", values, "stdconsultationsubject");
            return (Criteria) this;
        }

        public Criteria andStdconsultationsubjectBetween(String value1, String value2) {
            addCriterion("STDCONSULTATIONSUBJECT_ between", value1, value2, "stdconsultationsubject");
            return (Criteria) this;
        }

        public Criteria andStdconsultationsubjectNotBetween(String value1, String value2) {
            addCriterion("STDCONSULTATIONSUBJECT_ not between", value1, value2, "stdconsultationsubject");
            return (Criteria) this;
        }

        public Criteria andOutercaseflagIsNull() {
            addCriterion("OUTERCASEFLAG_ is null");
            return (Criteria) this;
        }

        public Criteria andOutercaseflagIsNotNull() {
            addCriterion("OUTERCASEFLAG_ is not null");
            return (Criteria) this;
        }

        public Criteria andOutercaseflagEqualTo(String value) {
            addCriterion("OUTERCASEFLAG_ =", value, "outercaseflag");
            return (Criteria) this;
        }

        public Criteria andOutercaseflagNotEqualTo(String value) {
            addCriterion("OUTERCASEFLAG_ <>", value, "outercaseflag");
            return (Criteria) this;
        }

        public Criteria andOutercaseflagGreaterThan(String value) {
            addCriterion("OUTERCASEFLAG_ >", value, "outercaseflag");
            return (Criteria) this;
        }

        public Criteria andOutercaseflagGreaterThanOrEqualTo(String value) {
            addCriterion("OUTERCASEFLAG_ >=", value, "outercaseflag");
            return (Criteria) this;
        }

        public Criteria andOutercaseflagLessThan(String value) {
            addCriterion("OUTERCASEFLAG_ <", value, "outercaseflag");
            return (Criteria) this;
        }

        public Criteria andOutercaseflagLessThanOrEqualTo(String value) {
            addCriterion("OUTERCASEFLAG_ <=", value, "outercaseflag");
            return (Criteria) this;
        }

        public Criteria andOutercaseflagLike(String value) {
            addCriterion("OUTERCASEFLAG_ like", value, "outercaseflag");
            return (Criteria) this;
        }

        public Criteria andOutercaseflagNotLike(String value) {
            addCriterion("OUTERCASEFLAG_ not like", value, "outercaseflag");
            return (Criteria) this;
        }

        public Criteria andOutercaseflagIn(List<String> values) {
            addCriterion("OUTERCASEFLAG_ in", values, "outercaseflag");
            return (Criteria) this;
        }

        public Criteria andOutercaseflagNotIn(List<String> values) {
            addCriterion("OUTERCASEFLAG_ not in", values, "outercaseflag");
            return (Criteria) this;
        }

        public Criteria andOutercaseflagBetween(String value1, String value2) {
            addCriterion("OUTERCASEFLAG_ between", value1, value2, "outercaseflag");
            return (Criteria) this;
        }

        public Criteria andOutercaseflagNotBetween(String value1, String value2) {
            addCriterion("OUTERCASEFLAG_ not between", value1, value2, "outercaseflag");
            return (Criteria) this;
        }

        public Criteria andNoprimarynoecflagIsNull() {
            addCriterion("NOPRIMARYNOECFLAG_ is null");
            return (Criteria) this;
        }

        public Criteria andNoprimarynoecflagIsNotNull() {
            addCriterion("NOPRIMARYNOECFLAG_ is not null");
            return (Criteria) this;
        }

        public Criteria andNoprimarynoecflagEqualTo(String value) {
            addCriterion("NOPRIMARYNOECFLAG_ =", value, "noprimarynoecflag");
            return (Criteria) this;
        }

        public Criteria andNoprimarynoecflagNotEqualTo(String value) {
            addCriterion("NOPRIMARYNOECFLAG_ <>", value, "noprimarynoecflag");
            return (Criteria) this;
        }

        public Criteria andNoprimarynoecflagGreaterThan(String value) {
            addCriterion("NOPRIMARYNOECFLAG_ >", value, "noprimarynoecflag");
            return (Criteria) this;
        }

        public Criteria andNoprimarynoecflagGreaterThanOrEqualTo(String value) {
            addCriterion("NOPRIMARYNOECFLAG_ >=", value, "noprimarynoecflag");
            return (Criteria) this;
        }

        public Criteria andNoprimarynoecflagLessThan(String value) {
            addCriterion("NOPRIMARYNOECFLAG_ <", value, "noprimarynoecflag");
            return (Criteria) this;
        }

        public Criteria andNoprimarynoecflagLessThanOrEqualTo(String value) {
            addCriterion("NOPRIMARYNOECFLAG_ <=", value, "noprimarynoecflag");
            return (Criteria) this;
        }

        public Criteria andNoprimarynoecflagLike(String value) {
            addCriterion("NOPRIMARYNOECFLAG_ like", value, "noprimarynoecflag");
            return (Criteria) this;
        }

        public Criteria andNoprimarynoecflagNotLike(String value) {
            addCriterion("NOPRIMARYNOECFLAG_ not like", value, "noprimarynoecflag");
            return (Criteria) this;
        }

        public Criteria andNoprimarynoecflagIn(List<String> values) {
            addCriterion("NOPRIMARYNOECFLAG_ in", values, "noprimarynoecflag");
            return (Criteria) this;
        }

        public Criteria andNoprimarynoecflagNotIn(List<String> values) {
            addCriterion("NOPRIMARYNOECFLAG_ not in", values, "noprimarynoecflag");
            return (Criteria) this;
        }

        public Criteria andNoprimarynoecflagBetween(String value1, String value2) {
            addCriterion("NOPRIMARYNOECFLAG_ between", value1, value2, "noprimarynoecflag");
            return (Criteria) this;
        }

        public Criteria andNoprimarynoecflagNotBetween(String value1, String value2) {
            addCriterion("NOPRIMARYNOECFLAG_ not between", value1, value2, "noprimarynoecflag");
            return (Criteria) this;
        }

        public Criteria andRfrcodeIsNull() {
            addCriterion("RFRCODE_ is null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeIsNotNull() {
            addCriterion("RFRCODE_ is not null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeEqualTo(String value) {
            addCriterion("RFRCODE_ =", value, "rfrcode");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNotEqualTo(String value) {
            addCriterion("RFRCODE_ <>", value, "rfrcode");
            return (Criteria) this;
        }

        public Criteria andRfrcodeGreaterThan(String value) {
            addCriterion("RFRCODE_ >", value, "rfrcode");
            return (Criteria) this;
        }

        public Criteria andRfrcodeGreaterThanOrEqualTo(String value) {
            addCriterion("RFRCODE_ >=", value, "rfrcode");
            return (Criteria) this;
        }

        public Criteria andRfrcodeLessThan(String value) {
            addCriterion("RFRCODE_ <", value, "rfrcode");
            return (Criteria) this;
        }

        public Criteria andRfrcodeLessThanOrEqualTo(String value) {
            addCriterion("RFRCODE_ <=", value, "rfrcode");
            return (Criteria) this;
        }

        public Criteria andRfrcodeLike(String value) {
            addCriterion("RFRCODE_ like", value, "rfrcode");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNotLike(String value) {
            addCriterion("RFRCODE_ not like", value, "rfrcode");
            return (Criteria) this;
        }

        public Criteria andRfrcodeIn(List<String> values) {
            addCriterion("RFRCODE_ in", values, "rfrcode");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNotIn(List<String> values) {
            addCriterion("RFRCODE_ not in", values, "rfrcode");
            return (Criteria) this;
        }

        public Criteria andRfrcodeBetween(String value1, String value2) {
            addCriterion("RFRCODE_ between", value1, value2, "rfrcode");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNotBetween(String value1, String value2) {
            addCriterion("RFRCODE_ not between", value1, value2, "rfrcode");
            return (Criteria) this;
        }

        public Criteria andAttentionflagIsNull() {
            addCriterion("ATTENTIONFLAG_ is null");
            return (Criteria) this;
        }

        public Criteria andAttentionflagIsNotNull() {
            addCriterion("ATTENTIONFLAG_ is not null");
            return (Criteria) this;
        }

        public Criteria andAttentionflagEqualTo(Long value) {
            addCriterion("ATTENTIONFLAG_ =", value, "attentionflag");
            return (Criteria) this;
        }

        public Criteria andAttentionflagNotEqualTo(Long value) {
            addCriterion("ATTENTIONFLAG_ <>", value, "attentionflag");
            return (Criteria) this;
        }

        public Criteria andAttentionflagGreaterThan(Long value) {
            addCriterion("ATTENTIONFLAG_ >", value, "attentionflag");
            return (Criteria) this;
        }

        public Criteria andAttentionflagGreaterThanOrEqualTo(Long value) {
            addCriterion("ATTENTIONFLAG_ >=", value, "attentionflag");
            return (Criteria) this;
        }

        public Criteria andAttentionflagLessThan(Long value) {
            addCriterion("ATTENTIONFLAG_ <", value, "attentionflag");
            return (Criteria) this;
        }

        public Criteria andAttentionflagLessThanOrEqualTo(Long value) {
            addCriterion("ATTENTIONFLAG_ <=", value, "attentionflag");
            return (Criteria) this;
        }

        public Criteria andAttentionflagIn(List<Long> values) {
            addCriterion("ATTENTIONFLAG_ in", values, "attentionflag");
            return (Criteria) this;
        }

        public Criteria andAttentionflagNotIn(List<Long> values) {
            addCriterion("ATTENTIONFLAG_ not in", values, "attentionflag");
            return (Criteria) this;
        }

        public Criteria andAttentionflagBetween(Long value1, Long value2) {
            addCriterion("ATTENTIONFLAG_ between", value1, value2, "attentionflag");
            return (Criteria) this;
        }

        public Criteria andAttentionflagNotBetween(Long value1, Long value2) {
            addCriterion("ATTENTIONFLAG_ not between", value1, value2, "attentionflag");
            return (Criteria) this;
        }

        public Criteria andClinicalDiagnosisIsNull() {
            addCriterion("CLINICAL_DIAGNOSIS_ is null");
            return (Criteria) this;
        }

        public Criteria andClinicalDiagnosisIsNotNull() {
            addCriterion("CLINICAL_DIAGNOSIS_ is not null");
            return (Criteria) this;
        }

        public Criteria andClinicalDiagnosisEqualTo(String value) {
            addCriterion("CLINICAL_DIAGNOSIS_ =", value, "clinicalDiagnosis");
            return (Criteria) this;
        }

        public Criteria andClinicalDiagnosisNotEqualTo(String value) {
            addCriterion("CLINICAL_DIAGNOSIS_ <>", value, "clinicalDiagnosis");
            return (Criteria) this;
        }

        public Criteria andClinicalDiagnosisGreaterThan(String value) {
            addCriterion("CLINICAL_DIAGNOSIS_ >", value, "clinicalDiagnosis");
            return (Criteria) this;
        }

        public Criteria andClinicalDiagnosisGreaterThanOrEqualTo(String value) {
            addCriterion("CLINICAL_DIAGNOSIS_ >=", value, "clinicalDiagnosis");
            return (Criteria) this;
        }

        public Criteria andClinicalDiagnosisLessThan(String value) {
            addCriterion("CLINICAL_DIAGNOSIS_ <", value, "clinicalDiagnosis");
            return (Criteria) this;
        }

        public Criteria andClinicalDiagnosisLessThanOrEqualTo(String value) {
            addCriterion("CLINICAL_DIAGNOSIS_ <=", value, "clinicalDiagnosis");
            return (Criteria) this;
        }

        public Criteria andClinicalDiagnosisLike(String value) {
            addCriterion("CLINICAL_DIAGNOSIS_ like", value, "clinicalDiagnosis");
            return (Criteria) this;
        }

        public Criteria andClinicalDiagnosisNotLike(String value) {
            addCriterion("CLINICAL_DIAGNOSIS_ not like", value, "clinicalDiagnosis");
            return (Criteria) this;
        }

        public Criteria andClinicalDiagnosisIn(List<String> values) {
            addCriterion("CLINICAL_DIAGNOSIS_ in", values, "clinicalDiagnosis");
            return (Criteria) this;
        }

        public Criteria andClinicalDiagnosisNotIn(List<String> values) {
            addCriterion("CLINICAL_DIAGNOSIS_ not in", values, "clinicalDiagnosis");
            return (Criteria) this;
        }

        public Criteria andClinicalDiagnosisBetween(String value1, String value2) {
            addCriterion("CLINICAL_DIAGNOSIS_ between", value1, value2, "clinicalDiagnosis");
            return (Criteria) this;
        }

        public Criteria andClinicalDiagnosisNotBetween(String value1, String value2) {
            addCriterion("CLINICAL_DIAGNOSIS_ not between", value1, value2, "clinicalDiagnosis");
            return (Criteria) this;
        }

        public Criteria andCdIndexIsNull() {
            addCriterion("CD_INDEX_ is null");
            return (Criteria) this;
        }

        public Criteria andCdIndexIsNotNull() {
            addCriterion("CD_INDEX_ is not null");
            return (Criteria) this;
        }

        public Criteria andCdIndexEqualTo(String value) {
            addCriterion("CD_INDEX_ =", value, "cdIndex");
            return (Criteria) this;
        }

        public Criteria andCdIndexNotEqualTo(String value) {
            addCriterion("CD_INDEX_ <>", value, "cdIndex");
            return (Criteria) this;
        }

        public Criteria andCdIndexGreaterThan(String value) {
            addCriterion("CD_INDEX_ >", value, "cdIndex");
            return (Criteria) this;
        }

        public Criteria andCdIndexGreaterThanOrEqualTo(String value) {
            addCriterion("CD_INDEX_ >=", value, "cdIndex");
            return (Criteria) this;
        }

        public Criteria andCdIndexLessThan(String value) {
            addCriterion("CD_INDEX_ <", value, "cdIndex");
            return (Criteria) this;
        }

        public Criteria andCdIndexLessThanOrEqualTo(String value) {
            addCriterion("CD_INDEX_ <=", value, "cdIndex");
            return (Criteria) this;
        }

        public Criteria andCdIndexLike(String value) {
            addCriterion("CD_INDEX_ like", value, "cdIndex");
            return (Criteria) this;
        }

        public Criteria andCdIndexNotLike(String value) {
            addCriterion("CD_INDEX_ not like", value, "cdIndex");
            return (Criteria) this;
        }

        public Criteria andCdIndexIn(List<String> values) {
            addCriterion("CD_INDEX_ in", values, "cdIndex");
            return (Criteria) this;
        }

        public Criteria andCdIndexNotIn(List<String> values) {
            addCriterion("CD_INDEX_ not in", values, "cdIndex");
            return (Criteria) this;
        }

        public Criteria andCdIndexBetween(String value1, String value2) {
            addCriterion("CD_INDEX_ between", value1, value2, "cdIndex");
            return (Criteria) this;
        }

        public Criteria andCdIndexNotBetween(String value1, String value2) {
            addCriterion("CD_INDEX_ not between", value1, value2, "cdIndex");
            return (Criteria) this;
        }

        public Criteria andOperationFlagIsNull() {
            addCriterion("OPERATION_FLAG_ is null");
            return (Criteria) this;
        }

        public Criteria andOperationFlagIsNotNull() {
            addCriterion("OPERATION_FLAG_ is not null");
            return (Criteria) this;
        }

        public Criteria andOperationFlagEqualTo(String value) {
            addCriterion("OPERATION_FLAG_ =", value, "operationFlag");
            return (Criteria) this;
        }

        public Criteria andOperationFlagNotEqualTo(String value) {
            addCriterion("OPERATION_FLAG_ <>", value, "operationFlag");
            return (Criteria) this;
        }

        public Criteria andOperationFlagGreaterThan(String value) {
            addCriterion("OPERATION_FLAG_ >", value, "operationFlag");
            return (Criteria) this;
        }

        public Criteria andOperationFlagGreaterThanOrEqualTo(String value) {
            addCriterion("OPERATION_FLAG_ >=", value, "operationFlag");
            return (Criteria) this;
        }

        public Criteria andOperationFlagLessThan(String value) {
            addCriterion("OPERATION_FLAG_ <", value, "operationFlag");
            return (Criteria) this;
        }

        public Criteria andOperationFlagLessThanOrEqualTo(String value) {
            addCriterion("OPERATION_FLAG_ <=", value, "operationFlag");
            return (Criteria) this;
        }

        public Criteria andOperationFlagLike(String value) {
            addCriterion("OPERATION_FLAG_ like", value, "operationFlag");
            return (Criteria) this;
        }

        public Criteria andOperationFlagNotLike(String value) {
            addCriterion("OPERATION_FLAG_ not like", value, "operationFlag");
            return (Criteria) this;
        }

        public Criteria andOperationFlagIn(List<String> values) {
            addCriterion("OPERATION_FLAG_ in", values, "operationFlag");
            return (Criteria) this;
        }

        public Criteria andOperationFlagNotIn(List<String> values) {
            addCriterion("OPERATION_FLAG_ not in", values, "operationFlag");
            return (Criteria) this;
        }

        public Criteria andOperationFlagBetween(String value1, String value2) {
            addCriterion("OPERATION_FLAG_ between", value1, value2, "operationFlag");
            return (Criteria) this;
        }

        public Criteria andOperationFlagNotBetween(String value1, String value2) {
            addCriterion("OPERATION_FLAG_ not between", value1, value2, "operationFlag");
            return (Criteria) this;
        }

        public Criteria andFlagIsNull() {
            addCriterion("FLAG is null");
            return (Criteria) this;
        }

        public Criteria andFlagIsNotNull() {
            addCriterion("FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andFlagEqualTo(String value) {
            addCriterion("FLAG =", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotEqualTo(String value) {
            addCriterion("FLAG <>", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThan(String value) {
            addCriterion("FLAG >", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagGreaterThanOrEqualTo(String value) {
            addCriterion("FLAG >=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThan(String value) {
            addCriterion("FLAG <", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLessThanOrEqualTo(String value) {
            addCriterion("FLAG <=", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagLike(String value) {
            addCriterion("FLAG like", value, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotLike(String value) {
            addCriterion("FLAG not like", value, "flag");
            return (Criteria) this;
        }



        public Criteria andFlagBetween(String value1, String value2) {
            addCriterion("FLAG between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFlagNotBetween(String value1, String value2) {
            addCriterion("FLAG not between", value1, value2, "flag");
            return (Criteria) this;
        }

        public Criteria andFlag2IsNull() {
            addCriterion("FLAG_2 is null");
            return (Criteria) this;
        }

        public Criteria andFlag2IsNotNull() {
            addCriterion("FLAG_2 is not null");
            return (Criteria) this;
        }

        public Criteria andFlag2EqualTo(String value) {
            addCriterion("FLAG_2 =", value, "flag2");
            return (Criteria) this;
        }

        public Criteria andFlag2NotEqualTo(String value) {
            addCriterion("FLAG_2 <>", value, "flag2");
            return (Criteria) this;
        }

        public Criteria andFlag2GreaterThan(String value) {
            addCriterion("FLAG_2 >", value, "flag2");
            return (Criteria) this;
        }

        public Criteria andFlag2GreaterThanOrEqualTo(String value) {
            addCriterion("FLAG_2 >=", value, "flag2");
            return (Criteria) this;
        }

        public Criteria andFlag2LessThan(String value) {
            addCriterion("FLAG_2 <", value, "flag2");
            return (Criteria) this;
        }

        public Criteria andFlag2LessThanOrEqualTo(String value) {
            addCriterion("FLAG_2 <=", value, "flag2");
            return (Criteria) this;
        }

        public Criteria andFlag2Like(String value) {
            addCriterion("FLAG_2 like", value, "flag2");
            return (Criteria) this;
        }

        public Criteria andFlag2NotLike(String value) {
            addCriterion("FLAG_2 not like", value, "flag2");
            return (Criteria) this;
        }

        public Criteria andFlag2In(List<String> values) {
            addCriterion("FLAG_2 in", values, "flag2");
            return (Criteria) this;
        }

        public Criteria andFlag2NotIn(List<String> values) {
            addCriterion("FLAG_2 not in", values, "flag2");
            return (Criteria) this;
        }

        public Criteria andFlag2Between(String value1, String value2) {
            addCriterion("FLAG_2 between", value1, value2, "flag2");
            return (Criteria) this;
        }

        public Criteria andFlag2NotBetween(String value1, String value2) {
            addCriterion("FLAG_2 not between", value1, value2, "flag2");
            return (Criteria) this;
        }

        public Criteria andGjbmIsNull() {
            addCriterion("GJBM is null");
            return (Criteria) this;
        }

        public Criteria andGjbmIsNotNull() {
            addCriterion("GJBM is not null");
            return (Criteria) this;
        }

        public Criteria andGjbmEqualTo(String value) {
            addCriterion("GJBM =", value, "gjbm");
            return (Criteria) this;
        }

        public Criteria andGjbmNotEqualTo(String value) {
            addCriterion("GJBM <>", value, "gjbm");
            return (Criteria) this;
        }

        public Criteria andGjbmGreaterThan(String value) {
            addCriterion("GJBM >", value, "gjbm");
            return (Criteria) this;
        }

        public Criteria andGjbmGreaterThanOrEqualTo(String value) {
            addCriterion("GJBM >=", value, "gjbm");
            return (Criteria) this;
        }

        public Criteria andGjbmLessThan(String value) {
            addCriterion("GJBM <", value, "gjbm");
            return (Criteria) this;
        }

        public Criteria andGjbmLessThanOrEqualTo(String value) {
            addCriterion("GJBM <=", value, "gjbm");
            return (Criteria) this;
        }

        public Criteria andGjbmLike(String value) {
            addCriterion("GJBM like", value, "gjbm");
            return (Criteria) this;
        }

        public Criteria andGjbmNotLike(String value) {
            addCriterion("GJBM not like", value, "gjbm");
            return (Criteria) this;
        }

        public Criteria andGjbmIn(List<String> values) {
            addCriterion("GJBM in", values, "gjbm");
            return (Criteria) this;
        }

        public Criteria andGjbmNotIn(List<String> values) {
            addCriterion("GJBM not in", values, "gjbm");
            return (Criteria) this;
        }

        public Criteria andGjbmBetween(String value1, String value2) {
            addCriterion("GJBM between", value1, value2, "gjbm");
            return (Criteria) this;
        }

        public Criteria andGjbmNotBetween(String value1, String value2) {
            addCriterion("GJBM not between", value1, value2, "gjbm");
            return (Criteria) this;
        }

        public Criteria andLowRiskFlagIsNull() {
            addCriterion("LOW_RISK_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andLowRiskFlagIsNotNull() {
            addCriterion("LOW_RISK_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andLowRiskFlagEqualTo(String value) {
            addCriterion("LOW_RISK_FLAG =", value, "lowRiskFlag");
            return (Criteria) this;
        }

        public Criteria andLowRiskFlagNotEqualTo(String value) {
            addCriterion("LOW_RISK_FLAG <>", value, "lowRiskFlag");
            return (Criteria) this;
        }

        public Criteria andLowRiskFlagGreaterThan(String value) {
            addCriterion("LOW_RISK_FLAG >", value, "lowRiskFlag");
            return (Criteria) this;
        }

        public Criteria andLowRiskFlagGreaterThanOrEqualTo(String value) {
            addCriterion("LOW_RISK_FLAG >=", value, "lowRiskFlag");
            return (Criteria) this;
        }

        public Criteria andLowRiskFlagLessThan(String value) {
            addCriterion("LOW_RISK_FLAG <", value, "lowRiskFlag");
            return (Criteria) this;
        }

        public Criteria andLowRiskFlagLessThanOrEqualTo(String value) {
            addCriterion("LOW_RISK_FLAG <=", value, "lowRiskFlag");
            return (Criteria) this;
        }

        public Criteria andLowRiskFlagLike(String value) {
            addCriterion("LOW_RISK_FLAG like", value, "lowRiskFlag");
            return (Criteria) this;
        }

        public Criteria andLowRiskFlagNotLike(String value) {
            addCriterion("LOW_RISK_FLAG not like", value, "lowRiskFlag");
            return (Criteria) this;
        }

        public Criteria andLowRiskFlagIn(List<String> values) {
            addCriterion("LOW_RISK_FLAG in", values, "lowRiskFlag");
            return (Criteria) this;
        }

        public Criteria andLowRiskFlagNotIn(List<String> values) {
            addCriterion("LOW_RISK_FLAG not in", values, "lowRiskFlag");
            return (Criteria) this;
        }

        public Criteria andLowRiskFlagBetween(String value1, String value2) {
            addCriterion("LOW_RISK_FLAG between", value1, value2, "lowRiskFlag");
            return (Criteria) this;
        }

        public Criteria andLowRiskFlagNotBetween(String value1, String value2) {
            addCriterion("LOW_RISK_FLAG not between", value1, value2, "lowRiskFlag");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSecondeIsNull() {
            addCriterion("RFRCODE_SECONDE is null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSecondeIsNotNull() {
            addCriterion("RFRCODE_SECONDE is not null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSecondeEqualTo(String value) {
            addCriterion("RFRCODE_SECONDE =", value, "rfrcodeSeconde");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSecondeNotEqualTo(String value) {
            addCriterion("RFRCODE_SECONDE <>", value, "rfrcodeSeconde");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSecondeGreaterThan(String value) {
            addCriterion("RFRCODE_SECONDE >", value, "rfrcodeSeconde");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSecondeGreaterThanOrEqualTo(String value) {
            addCriterion("RFRCODE_SECONDE >=", value, "rfrcodeSeconde");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSecondeLessThan(String value) {
            addCriterion("RFRCODE_SECONDE <", value, "rfrcodeSeconde");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSecondeLessThanOrEqualTo(String value) {
            addCriterion("RFRCODE_SECONDE <=", value, "rfrcodeSeconde");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSecondeLike(String value) {
            addCriterion("RFRCODE_SECONDE like", value, "rfrcodeSeconde");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSecondeNotLike(String value) {
            addCriterion("RFRCODE_SECONDE not like", value, "rfrcodeSeconde");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSecondeIn(List<String> values) {
            addCriterion("RFRCODE_SECONDE in", values, "rfrcodeSeconde");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSecondeNotIn(List<String> values) {
            addCriterion("RFRCODE_SECONDE not in", values, "rfrcodeSeconde");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSecondeBetween(String value1, String value2) {
            addCriterion("RFRCODE_SECONDE between", value1, value2, "rfrcodeSeconde");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSecondeNotBetween(String value1, String value2) {
            addCriterion("RFRCODE_SECONDE not between", value1, value2, "rfrcodeSeconde");
            return (Criteria) this;
        }

        public Criteria andRfrcodeThirdIsNull() {
            addCriterion("RFRCODE_THIRD is null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeThirdIsNotNull() {
            addCriterion("RFRCODE_THIRD is not null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeThirdEqualTo(String value) {
            addCriterion("RFRCODE_THIRD =", value, "rfrcodeThird");
            return (Criteria) this;
        }

        public Criteria andRfrcodeThirdNotEqualTo(String value) {
            addCriterion("RFRCODE_THIRD <>", value, "rfrcodeThird");
            return (Criteria) this;
        }

        public Criteria andRfrcodeThirdGreaterThan(String value) {
            addCriterion("RFRCODE_THIRD >", value, "rfrcodeThird");
            return (Criteria) this;
        }

        public Criteria andRfrcodeThirdGreaterThanOrEqualTo(String value) {
            addCriterion("RFRCODE_THIRD >=", value, "rfrcodeThird");
            return (Criteria) this;
        }

        public Criteria andRfrcodeThirdLessThan(String value) {
            addCriterion("RFRCODE_THIRD <", value, "rfrcodeThird");
            return (Criteria) this;
        }

        public Criteria andRfrcodeThirdLessThanOrEqualTo(String value) {
            addCriterion("RFRCODE_THIRD <=", value, "rfrcodeThird");
            return (Criteria) this;
        }

        public Criteria andRfrcodeThirdLike(String value) {
            addCriterion("RFRCODE_THIRD like", value, "rfrcodeThird");
            return (Criteria) this;
        }

        public Criteria andRfrcodeThirdNotLike(String value) {
            addCriterion("RFRCODE_THIRD not like", value, "rfrcodeThird");
            return (Criteria) this;
        }

        public Criteria andRfrcodeThirdIn(List<String> values) {
            addCriterion("RFRCODE_THIRD in", values, "rfrcodeThird");
            return (Criteria) this;
        }

        public Criteria andRfrcodeThirdNotIn(List<String> values) {
            addCriterion("RFRCODE_THIRD not in", values, "rfrcodeThird");
            return (Criteria) this;
        }

        public Criteria andRfrcodeThirdBetween(String value1, String value2) {
            addCriterion("RFRCODE_THIRD between", value1, value2, "rfrcodeThird");
            return (Criteria) this;
        }

        public Criteria andRfrcodeThirdNotBetween(String value1, String value2) {
            addCriterion("RFRCODE_THIRD not between", value1, value2, "rfrcodeThird");
            return (Criteria) this;
        }

        public Criteria andAttentionIsNull() {
            addCriterion("ATTENTION is null");
            return (Criteria) this;
        }

        public Criteria andAttentionIsNotNull() {
            addCriterion("ATTENTION is not null");
            return (Criteria) this;
        }

        public Criteria andAttentionEqualTo(String value) {
            addCriterion("ATTENTION =", value, "attention");
            return (Criteria) this;
        }

        public Criteria andAttentionNotEqualTo(String value) {
            addCriterion("ATTENTION <>", value, "attention");
            return (Criteria) this;
        }

        public Criteria andAttentionGreaterThan(String value) {
            addCriterion("ATTENTION >", value, "attention");
            return (Criteria) this;
        }

        public Criteria andAttentionGreaterThanOrEqualTo(String value) {
            addCriterion("ATTENTION >=", value, "attention");
            return (Criteria) this;
        }

        public Criteria andAttentionLessThan(String value) {
            addCriterion("ATTENTION <", value, "attention");
            return (Criteria) this;
        }

        public Criteria andAttentionLessThanOrEqualTo(String value) {
            addCriterion("ATTENTION <=", value, "attention");
            return (Criteria) this;
        }

        public Criteria andAttentionLike(String value) {
            addCriterion("ATTENTION like", value, "attention");
            return (Criteria) this;
        }

        public Criteria andAttentionNotLike(String value) {
            addCriterion("ATTENTION not like", value, "attention");
            return (Criteria) this;
        }

        public Criteria andAttentionIn(List<String> values) {
            addCriterion("ATTENTION in", values, "attention");
            return (Criteria) this;
        }

        public Criteria andAttentionNotIn(List<String> values) {
            addCriterion("ATTENTION not in", values, "attention");
            return (Criteria) this;
        }

        public Criteria andAttentionBetween(String value1, String value2) {
            addCriterion("ATTENTION between", value1, value2, "attention");
            return (Criteria) this;
        }

        public Criteria andAttentionNotBetween(String value1, String value2) {
            addCriterion("ATTENTION not between", value1, value2, "attention");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFourthIsNull() {
            addCriterion("RFRCODE_FOURTH is null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFourthIsNotNull() {
            addCriterion("RFRCODE_FOURTH is not null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFourthEqualTo(String value) {
            addCriterion("RFRCODE_FOURTH =", value, "rfrcodeFourth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFourthNotEqualTo(String value) {
            addCriterion("RFRCODE_FOURTH <>", value, "rfrcodeFourth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFourthGreaterThan(String value) {
            addCriterion("RFRCODE_FOURTH >", value, "rfrcodeFourth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFourthGreaterThanOrEqualTo(String value) {
            addCriterion("RFRCODE_FOURTH >=", value, "rfrcodeFourth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFourthLessThan(String value) {
            addCriterion("RFRCODE_FOURTH <", value, "rfrcodeFourth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFourthLessThanOrEqualTo(String value) {
            addCriterion("RFRCODE_FOURTH <=", value, "rfrcodeFourth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFourthLike(String value) {
            addCriterion("RFRCODE_FOURTH like", value, "rfrcodeFourth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFourthNotLike(String value) {
            addCriterion("RFRCODE_FOURTH not like", value, "rfrcodeFourth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFourthIn(List<String> values) {
            addCriterion("RFRCODE_FOURTH in", values, "rfrcodeFourth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFourthNotIn(List<String> values) {
            addCriterion("RFRCODE_FOURTH not in", values, "rfrcodeFourth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFourthBetween(String value1, String value2) {
            addCriterion("RFRCODE_FOURTH between", value1, value2, "rfrcodeFourth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFourthNotBetween(String value1, String value2) {
            addCriterion("RFRCODE_FOURTH not between", value1, value2, "rfrcodeFourth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFiveIsNull() {
            addCriterion("RFRCODE_FIVE is null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFiveIsNotNull() {
            addCriterion("RFRCODE_FIVE is not null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFiveEqualTo(String value) {
            addCriterion("RFRCODE_FIVE =", value, "rfrcodeFive");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFiveNotEqualTo(String value) {
            addCriterion("RFRCODE_FIVE <>", value, "rfrcodeFive");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFiveGreaterThan(String value) {
            addCriterion("RFRCODE_FIVE >", value, "rfrcodeFive");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFiveGreaterThanOrEqualTo(String value) {
            addCriterion("RFRCODE_FIVE >=", value, "rfrcodeFive");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFiveLessThan(String value) {
            addCriterion("RFRCODE_FIVE <", value, "rfrcodeFive");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFiveLessThanOrEqualTo(String value) {
            addCriterion("RFRCODE_FIVE <=", value, "rfrcodeFive");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFiveLike(String value) {
            addCriterion("RFRCODE_FIVE like", value, "rfrcodeFive");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFiveNotLike(String value) {
            addCriterion("RFRCODE_FIVE not like", value, "rfrcodeFive");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFiveIn(List<String> values) {
            addCriterion("RFRCODE_FIVE in", values, "rfrcodeFive");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFiveNotIn(List<String> values) {
            addCriterion("RFRCODE_FIVE not in", values, "rfrcodeFive");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFiveBetween(String value1, String value2) {
            addCriterion("RFRCODE_FIVE between", value1, value2, "rfrcodeFive");
            return (Criteria) this;
        }

        public Criteria andRfrcodeFiveNotBetween(String value1, String value2) {
            addCriterion("RFRCODE_FIVE not between", value1, value2, "rfrcodeFive");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSixthIsNull() {
            addCriterion("RFRCODE_SIXTH is null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSixthIsNotNull() {
            addCriterion("RFRCODE_SIXTH is not null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSixthEqualTo(String value) {
            addCriterion("RFRCODE_SIXTH =", value, "rfrcodeSixth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSixthNotEqualTo(String value) {
            addCriterion("RFRCODE_SIXTH <>", value, "rfrcodeSixth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSixthGreaterThan(String value) {
            addCriterion("RFRCODE_SIXTH >", value, "rfrcodeSixth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSixthGreaterThanOrEqualTo(String value) {
            addCriterion("RFRCODE_SIXTH >=", value, "rfrcodeSixth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSixthLessThan(String value) {
            addCriterion("RFRCODE_SIXTH <", value, "rfrcodeSixth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSixthLessThanOrEqualTo(String value) {
            addCriterion("RFRCODE_SIXTH <=", value, "rfrcodeSixth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSixthLike(String value) {
            addCriterion("RFRCODE_SIXTH like", value, "rfrcodeSixth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSixthNotLike(String value) {
            addCriterion("RFRCODE_SIXTH not like", value, "rfrcodeSixth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSixthIn(List<String> values) {
            addCriterion("RFRCODE_SIXTH in", values, "rfrcodeSixth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSixthNotIn(List<String> values) {
            addCriterion("RFRCODE_SIXTH not in", values, "rfrcodeSixth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSixthBetween(String value1, String value2) {
            addCriterion("RFRCODE_SIXTH between", value1, value2, "rfrcodeSixth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSixthNotBetween(String value1, String value2) {
            addCriterion("RFRCODE_SIXTH not between", value1, value2, "rfrcodeSixth");
            return (Criteria) this;
        }

        public Criteria andClearClassificationFlagIsNull() {
            addCriterion("CLEAR_CLASSIFICATION_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andClearClassificationFlagIsNotNull() {
            addCriterion("CLEAR_CLASSIFICATION_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andClearClassificationFlagEqualTo(String value) {
            addCriterion("CLEAR_CLASSIFICATION_FLAG =", value, "clearClassificationFlag");
            return (Criteria) this;
        }

        public Criteria andClearClassificationFlagNotEqualTo(String value) {
            addCriterion("CLEAR_CLASSIFICATION_FLAG <>", value, "clearClassificationFlag");
            return (Criteria) this;
        }

        public Criteria andClearClassificationFlagGreaterThan(String value) {
            addCriterion("CLEAR_CLASSIFICATION_FLAG >", value, "clearClassificationFlag");
            return (Criteria) this;
        }

        public Criteria andClearClassificationFlagGreaterThanOrEqualTo(String value) {
            addCriterion("CLEAR_CLASSIFICATION_FLAG >=", value, "clearClassificationFlag");
            return (Criteria) this;
        }

        public Criteria andClearClassificationFlagLessThan(String value) {
            addCriterion("CLEAR_CLASSIFICATION_FLAG <", value, "clearClassificationFlag");
            return (Criteria) this;
        }

        public Criteria andClearClassificationFlagLessThanOrEqualTo(String value) {
            addCriterion("CLEAR_CLASSIFICATION_FLAG <=", value, "clearClassificationFlag");
            return (Criteria) this;
        }

        public Criteria andClearClassificationFlagLike(String value) {
            addCriterion("CLEAR_CLASSIFICATION_FLAG like", value, "clearClassificationFlag");
            return (Criteria) this;
        }

        public Criteria andClearClassificationFlagNotLike(String value) {
            addCriterion("CLEAR_CLASSIFICATION_FLAG not like", value, "clearClassificationFlag");
            return (Criteria) this;
        }

        public Criteria andClearClassificationFlagIn(List<String> values) {
            addCriterion("CLEAR_CLASSIFICATION_FLAG in", values, "clearClassificationFlag");
            return (Criteria) this;
        }

        public Criteria andClearClassificationFlagNotIn(List<String> values) {
            addCriterion("CLEAR_CLASSIFICATION_FLAG not in", values, "clearClassificationFlag");
            return (Criteria) this;
        }

        public Criteria andClearClassificationFlagBetween(String value1, String value2) {
            addCriterion("CLEAR_CLASSIFICATION_FLAG between", value1, value2, "clearClassificationFlag");
            return (Criteria) this;
        }

        public Criteria andClearClassificationFlagNotBetween(String value1, String value2) {
            addCriterion("CLEAR_CLASSIFICATION_FLAG not between", value1, value2, "clearClassificationFlag");
            return (Criteria) this;
        }

        public Criteria andClearClassificationIsNull() {
            addCriterion("CLEAR_CLASSIFICATION is null");
            return (Criteria) this;
        }

        public Criteria andClearClassificationIsNotNull() {
            addCriterion("CLEAR_CLASSIFICATION is not null");
            return (Criteria) this;
        }

        public Criteria andClearClassificationEqualTo(String value) {
            addCriterion("CLEAR_CLASSIFICATION =", value, "clearClassification");
            return (Criteria) this;
        }

        public Criteria andClearClassificationNotEqualTo(String value) {
            addCriterion("CLEAR_CLASSIFICATION <>", value, "clearClassification");
            return (Criteria) this;
        }

        public Criteria andClearClassificationGreaterThan(String value) {
            addCriterion("CLEAR_CLASSIFICATION >", value, "clearClassification");
            return (Criteria) this;
        }

        public Criteria andClearClassificationGreaterThanOrEqualTo(String value) {
            addCriterion("CLEAR_CLASSIFICATION >=", value, "clearClassification");
            return (Criteria) this;
        }

        public Criteria andClearClassificationLessThan(String value) {
            addCriterion("CLEAR_CLASSIFICATION <", value, "clearClassification");
            return (Criteria) this;
        }

        public Criteria andClearClassificationLessThanOrEqualTo(String value) {
            addCriterion("CLEAR_CLASSIFICATION <=", value, "clearClassification");
            return (Criteria) this;
        }

        public Criteria andClearClassificationLike(String value) {
            addCriterion("CLEAR_CLASSIFICATION like", value, "clearClassification");
            return (Criteria) this;
        }

        public Criteria andClearClassificationNotLike(String value) {
            addCriterion("CLEAR_CLASSIFICATION not like", value, "clearClassification");
            return (Criteria) this;
        }

        public Criteria andClearClassificationIn(List<String> values) {
            addCriterion("CLEAR_CLASSIFICATION in", values, "clearClassification");
            return (Criteria) this;
        }

        public Criteria andClearClassificationNotIn(List<String> values) {
            addCriterion("CLEAR_CLASSIFICATION not in", values, "clearClassification");
            return (Criteria) this;
        }

        public Criteria andClearClassificationBetween(String value1, String value2) {
            addCriterion("CLEAR_CLASSIFICATION between", value1, value2, "clearClassification");
            return (Criteria) this;
        }

        public Criteria andClearClassificationNotBetween(String value1, String value2) {
            addCriterion("CLEAR_CLASSIFICATION not between", value1, value2, "clearClassification");
            return (Criteria) this;
        }

        public Criteria andDeathCauseFlagIsNull() {
            addCriterion("DEATH_CAUSE_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andDeathCauseFlagIsNotNull() {
            addCriterion("DEATH_CAUSE_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andDeathCauseFlagEqualTo(String value) {
            addCriterion("DEATH_CAUSE_FLAG =", value, "deathCauseFlag");
            return (Criteria) this;
        }

        public Criteria andDeathCauseFlagNotEqualTo(String value) {
            addCriterion("DEATH_CAUSE_FLAG <>", value, "deathCauseFlag");
            return (Criteria) this;
        }

        public Criteria andDeathCauseFlagGreaterThan(String value) {
            addCriterion("DEATH_CAUSE_FLAG >", value, "deathCauseFlag");
            return (Criteria) this;
        }

        public Criteria andDeathCauseFlagGreaterThanOrEqualTo(String value) {
            addCriterion("DEATH_CAUSE_FLAG >=", value, "deathCauseFlag");
            return (Criteria) this;
        }

        public Criteria andDeathCauseFlagLessThan(String value) {
            addCriterion("DEATH_CAUSE_FLAG <", value, "deathCauseFlag");
            return (Criteria) this;
        }

        public Criteria andDeathCauseFlagLessThanOrEqualTo(String value) {
            addCriterion("DEATH_CAUSE_FLAG <=", value, "deathCauseFlag");
            return (Criteria) this;
        }

        public Criteria andDeathCauseFlagLike(String value) {
            addCriterion("DEATH_CAUSE_FLAG like", value, "deathCauseFlag");
            return (Criteria) this;
        }

        public Criteria andDeathCauseFlagNotLike(String value) {
            addCriterion("DEATH_CAUSE_FLAG not like", value, "deathCauseFlag");
            return (Criteria) this;
        }

        public Criteria andDeathCauseFlagIn(List<String> values) {
            addCriterion("DEATH_CAUSE_FLAG in", values, "deathCauseFlag");
            return (Criteria) this;
        }

        public Criteria andDeathCauseFlagNotIn(List<String> values) {
            addCriterion("DEATH_CAUSE_FLAG not in", values, "deathCauseFlag");
            return (Criteria) this;
        }

        public Criteria andDeathCauseFlagBetween(String value1, String value2) {
            addCriterion("DEATH_CAUSE_FLAG between", value1, value2, "deathCauseFlag");
            return (Criteria) this;
        }

        public Criteria andDeathCauseFlagNotBetween(String value1, String value2) {
            addCriterion("DEATH_CAUSE_FLAG not between", value1, value2, "deathCauseFlag");
            return (Criteria) this;
        }

        public Criteria andAttentionYear12IsNull() {
            addCriterion("ATTENTION_YEAR12 is null");
            return (Criteria) this;
        }

        public Criteria andAttentionYear12IsNotNull() {
            addCriterion("ATTENTION_YEAR12 is not null");
            return (Criteria) this;
        }

        public Criteria andAttentionYear12EqualTo(String value) {
            addCriterion("ATTENTION_YEAR12 =", value, "attentionYear12");
            return (Criteria) this;
        }

        public Criteria andAttentionYear12NotEqualTo(String value) {
            addCriterion("ATTENTION_YEAR12 <>", value, "attentionYear12");
            return (Criteria) this;
        }

        public Criteria andAttentionYear12GreaterThan(String value) {
            addCriterion("ATTENTION_YEAR12 >", value, "attentionYear12");
            return (Criteria) this;
        }

        public Criteria andAttentionYear12GreaterThanOrEqualTo(String value) {
            addCriterion("ATTENTION_YEAR12 >=", value, "attentionYear12");
            return (Criteria) this;
        }

        public Criteria andAttentionYear12LessThan(String value) {
            addCriterion("ATTENTION_YEAR12 <", value, "attentionYear12");
            return (Criteria) this;
        }

        public Criteria andAttentionYear12LessThanOrEqualTo(String value) {
            addCriterion("ATTENTION_YEAR12 <=", value, "attentionYear12");
            return (Criteria) this;
        }

        public Criteria andAttentionYear12Like(String value) {
            addCriterion("ATTENTION_YEAR12 like", value, "attentionYear12");
            return (Criteria) this;
        }

        public Criteria andAttentionYear12NotLike(String value) {
            addCriterion("ATTENTION_YEAR12 not like", value, "attentionYear12");
            return (Criteria) this;
        }

        public Criteria andAttentionYear12In(List<String> values) {
            addCriterion("ATTENTION_YEAR12 in", values, "attentionYear12");
            return (Criteria) this;
        }

        public Criteria andAttentionYear12NotIn(List<String> values) {
            addCriterion("ATTENTION_YEAR12 not in", values, "attentionYear12");
            return (Criteria) this;
        }

        public Criteria andAttentionYear12Between(String value1, String value2) {
            addCriterion("ATTENTION_YEAR12 between", value1, value2, "attentionYear12");
            return (Criteria) this;
        }

        public Criteria andAttentionYear12NotBetween(String value1, String value2) {
            addCriterion("ATTENTION_YEAR12 not between", value1, value2, "attentionYear12");
            return (Criteria) this;
        }

        public Criteria andAttentionYear05IsNull() {
            addCriterion("ATTENTION_YEAR05 is null");
            return (Criteria) this;
        }

        public Criteria andAttentionYear05IsNotNull() {
            addCriterion("ATTENTION_YEAR05 is not null");
            return (Criteria) this;
        }

        public Criteria andAttentionYear05EqualTo(String value) {
            addCriterion("ATTENTION_YEAR05 =", value, "attentionYear05");
            return (Criteria) this;
        }

        public Criteria andAttentionYear05NotEqualTo(String value) {
            addCriterion("ATTENTION_YEAR05 <>", value, "attentionYear05");
            return (Criteria) this;
        }

        public Criteria andAttentionYear05GreaterThan(String value) {
            addCriterion("ATTENTION_YEAR05 >", value, "attentionYear05");
            return (Criteria) this;
        }

        public Criteria andAttentionYear05GreaterThanOrEqualTo(String value) {
            addCriterion("ATTENTION_YEAR05 >=", value, "attentionYear05");
            return (Criteria) this;
        }

        public Criteria andAttentionYear05LessThan(String value) {
            addCriterion("ATTENTION_YEAR05 <", value, "attentionYear05");
            return (Criteria) this;
        }

        public Criteria andAttentionYear05LessThanOrEqualTo(String value) {
            addCriterion("ATTENTION_YEAR05 <=", value, "attentionYear05");
            return (Criteria) this;
        }

        public Criteria andAttentionYear05Like(String value) {
            addCriterion("ATTENTION_YEAR05 like", value, "attentionYear05");
            return (Criteria) this;
        }

        public Criteria andAttentionYear05NotLike(String value) {
            addCriterion("ATTENTION_YEAR05 not like", value, "attentionYear05");
            return (Criteria) this;
        }

        public Criteria andAttentionYear05In(List<String> values) {
            addCriterion("ATTENTION_YEAR05 in", values, "attentionYear05");
            return (Criteria) this;
        }

        public Criteria andAttentionYear05NotIn(List<String> values) {
            addCriterion("ATTENTION_YEAR05 not in", values, "attentionYear05");
            return (Criteria) this;
        }

        public Criteria andAttentionYear05Between(String value1, String value2) {
            addCriterion("ATTENTION_YEAR05 between", value1, value2, "attentionYear05");
            return (Criteria) this;
        }

        public Criteria andAttentionYear05NotBetween(String value1, String value2) {
            addCriterion("ATTENTION_YEAR05 not between", value1, value2, "attentionYear05");
            return (Criteria) this;
        }

        public Criteria andHiFlagIsNull() {
            addCriterion("HI_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andHiFlagIsNotNull() {
            addCriterion("HI_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andHiFlagEqualTo(String value) {
            addCriterion("HI_FLAG =", value, "hiFlag");
            return (Criteria) this;
        }

        public Criteria andHiFlagNotEqualTo(String value) {
            addCriterion("HI_FLAG <>", value, "hiFlag");
            return (Criteria) this;
        }

        public Criteria andHiFlagGreaterThan(String value) {
            addCriterion("HI_FLAG >", value, "hiFlag");
            return (Criteria) this;
        }

        public Criteria andHiFlagGreaterThanOrEqualTo(String value) {
            addCriterion("HI_FLAG >=", value, "hiFlag");
            return (Criteria) this;
        }

        public Criteria andHiFlagLessThan(String value) {
            addCriterion("HI_FLAG <", value, "hiFlag");
            return (Criteria) this;
        }

        public Criteria andHiFlagLessThanOrEqualTo(String value) {
            addCriterion("HI_FLAG <=", value, "hiFlag");
            return (Criteria) this;
        }

        public Criteria andHiFlagLike(String value) {
            addCriterion("HI_FLAG like", value, "hiFlag");
            return (Criteria) this;
        }

        public Criteria andHiFlagNotLike(String value) {
            addCriterion("HI_FLAG not like", value, "hiFlag");
            return (Criteria) this;
        }

        public Criteria andHiFlagIn(List<String> values) {
            addCriterion("HI_FLAG in", values, "hiFlag");
            return (Criteria) this;
        }

        public Criteria andHiFlagNotIn(List<String> values) {
            addCriterion("HI_FLAG not in", values, "hiFlag");
            return (Criteria) this;
        }

        public Criteria andHiFlagBetween(String value1, String value2) {
            addCriterion("HI_FLAG between", value1, value2, "hiFlag");
            return (Criteria) this;
        }

        public Criteria andHiFlagNotBetween(String value1, String value2) {
            addCriterion("HI_FLAG not between", value1, value2, "hiFlag");
            return (Criteria) this;
        }

        public Criteria andInfectiousFlagIsNull() {
            addCriterion("INFECTIOUS_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andInfectiousFlagIsNotNull() {
            addCriterion("INFECTIOUS_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andInfectiousFlagEqualTo(String value) {
            addCriterion("INFECTIOUS_FLAG =", value, "infectiousFlag");
            return (Criteria) this;
        }

        public Criteria andInfectiousFlagNotEqualTo(String value) {
            addCriterion("INFECTIOUS_FLAG <>", value, "infectiousFlag");
            return (Criteria) this;
        }

        public Criteria andInfectiousFlagGreaterThan(String value) {
            addCriterion("INFECTIOUS_FLAG >", value, "infectiousFlag");
            return (Criteria) this;
        }

        public Criteria andInfectiousFlagGreaterThanOrEqualTo(String value) {
            addCriterion("INFECTIOUS_FLAG >=", value, "infectiousFlag");
            return (Criteria) this;
        }

        public Criteria andInfectiousFlagLessThan(String value) {
            addCriterion("INFECTIOUS_FLAG <", value, "infectiousFlag");
            return (Criteria) this;
        }

        public Criteria andInfectiousFlagLessThanOrEqualTo(String value) {
            addCriterion("INFECTIOUS_FLAG <=", value, "infectiousFlag");
            return (Criteria) this;
        }

        public Criteria andInfectiousFlagLike(String value) {
            addCriterion("INFECTIOUS_FLAG like", value, "infectiousFlag");
            return (Criteria) this;
        }

        public Criteria andInfectiousFlagNotLike(String value) {
            addCriterion("INFECTIOUS_FLAG not like", value, "infectiousFlag");
            return (Criteria) this;
        }

        public Criteria andInfectiousFlagIn(List<String> values) {
            addCriterion("INFECTIOUS_FLAG in", values, "infectiousFlag");
            return (Criteria) this;
        }

        public Criteria andInfectiousFlagNotIn(List<String> values) {
            addCriterion("INFECTIOUS_FLAG not in", values, "infectiousFlag");
            return (Criteria) this;
        }

        public Criteria andInfectiousFlagBetween(String value1, String value2) {
            addCriterion("INFECTIOUS_FLAG between", value1, value2, "infectiousFlag");
            return (Criteria) this;
        }

        public Criteria andInfectiousFlagNotBetween(String value1, String value2) {
            addCriterion("INFECTIOUS_FLAG not between", value1, value2, "infectiousFlag");
            return (Criteria) this;
        }

        public Criteria andQcFlagIsNull() {
            addCriterion("QC_FLAG is null");
            return (Criteria) this;
        }

        public Criteria andQcFlagIsNotNull() {
            addCriterion("QC_FLAG is not null");
            return (Criteria) this;
        }

        public Criteria andQcFlagEqualTo(String value) {
            addCriterion("QC_FLAG =", value, "qcFlag");
            return (Criteria) this;
        }

        public Criteria andQcFlagNotEqualTo(String value) {
            addCriterion("QC_FLAG <>", value, "qcFlag");
            return (Criteria) this;
        }

        public Criteria andQcFlagGreaterThan(String value) {
            addCriterion("QC_FLAG >", value, "qcFlag");
            return (Criteria) this;
        }

        public Criteria andQcFlagGreaterThanOrEqualTo(String value) {
            addCriterion("QC_FLAG >=", value, "qcFlag");
            return (Criteria) this;
        }

        public Criteria andQcFlagLessThan(String value) {
            addCriterion("QC_FLAG <", value, "qcFlag");
            return (Criteria) this;
        }

        public Criteria andQcFlagLessThanOrEqualTo(String value) {
            addCriterion("QC_FLAG <=", value, "qcFlag");
            return (Criteria) this;
        }

        public Criteria andQcFlagLike(String value) {
            addCriterion("QC_FLAG like", value, "qcFlag");
            return (Criteria) this;
        }

        public Criteria andQcFlagNotLike(String value) {
            addCriterion("QC_FLAG not like", value, "qcFlag");
            return (Criteria) this;
        }

        public Criteria andQcFlagIn(List<String> values) {
            addCriterion("QC_FLAG in", values, "qcFlag");
            return (Criteria) this;
        }

        public Criteria andQcFlagNotIn(List<String> values) {
            addCriterion("QC_FLAG not in", values, "qcFlag");
            return (Criteria) this;
        }

        public Criteria andQcFlagBetween(String value1, String value2) {
            addCriterion("QC_FLAG between", value1, value2, "qcFlag");
            return (Criteria) this;
        }

        public Criteria andQcFlagNotBetween(String value1, String value2) {
            addCriterion("QC_FLAG not between", value1, value2, "qcFlag");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSeventhIsNull() {
            addCriterion("RFRCODE_SEVENTH is null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSeventhIsNotNull() {
            addCriterion("RFRCODE_SEVENTH is not null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSeventhEqualTo(String value) {
            addCriterion("RFRCODE_SEVENTH =", value, "rfrcodeSeventh");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSeventhNotEqualTo(String value) {
            addCriterion("RFRCODE_SEVENTH <>", value, "rfrcodeSeventh");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSeventhGreaterThan(String value) {
            addCriterion("RFRCODE_SEVENTH >", value, "rfrcodeSeventh");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSeventhGreaterThanOrEqualTo(String value) {
            addCriterion("RFRCODE_SEVENTH >=", value, "rfrcodeSeventh");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSeventhLessThan(String value) {
            addCriterion("RFRCODE_SEVENTH <", value, "rfrcodeSeventh");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSeventhLessThanOrEqualTo(String value) {
            addCriterion("RFRCODE_SEVENTH <=", value, "rfrcodeSeventh");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSeventhLike(String value) {
            addCriterion("RFRCODE_SEVENTH like", value, "rfrcodeSeventh");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSeventhNotLike(String value) {
            addCriterion("RFRCODE_SEVENTH not like", value, "rfrcodeSeventh");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSeventhIn(List<String> values) {
            addCriterion("RFRCODE_SEVENTH in", values, "rfrcodeSeventh");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSeventhNotIn(List<String> values) {
            addCriterion("RFRCODE_SEVENTH not in", values, "rfrcodeSeventh");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSeventhBetween(String value1, String value2) {
            addCriterion("RFRCODE_SEVENTH between", value1, value2, "rfrcodeSeventh");
            return (Criteria) this;
        }

        public Criteria andRfrcodeSeventhNotBetween(String value1, String value2) {
            addCriterion("RFRCODE_SEVENTH not between", value1, value2, "rfrcodeSeventh");
            return (Criteria) this;
        }

        public Criteria andRfrcodeEighthIsNull() {
            addCriterion("RFRCODE_EIGHTH is null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeEighthIsNotNull() {
            addCriterion("RFRCODE_EIGHTH is not null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeEighthEqualTo(String value) {
            addCriterion("RFRCODE_EIGHTH =", value, "rfrcodeEighth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeEighthNotEqualTo(String value) {
            addCriterion("RFRCODE_EIGHTH <>", value, "rfrcodeEighth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeEighthGreaterThan(String value) {
            addCriterion("RFRCODE_EIGHTH >", value, "rfrcodeEighth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeEighthGreaterThanOrEqualTo(String value) {
            addCriterion("RFRCODE_EIGHTH >=", value, "rfrcodeEighth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeEighthLessThan(String value) {
            addCriterion("RFRCODE_EIGHTH <", value, "rfrcodeEighth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeEighthLessThanOrEqualTo(String value) {
            addCriterion("RFRCODE_EIGHTH <=", value, "rfrcodeEighth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeEighthLike(String value) {
            addCriterion("RFRCODE_EIGHTH like", value, "rfrcodeEighth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeEighthNotLike(String value) {
            addCriterion("RFRCODE_EIGHTH not like", value, "rfrcodeEighth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeEighthIn(List<String> values) {
            addCriterion("RFRCODE_EIGHTH in", values, "rfrcodeEighth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeEighthNotIn(List<String> values) {
            addCriterion("RFRCODE_EIGHTH not in", values, "rfrcodeEighth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeEighthBetween(String value1, String value2) {
            addCriterion("RFRCODE_EIGHTH between", value1, value2, "rfrcodeEighth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeEighthNotBetween(String value1, String value2) {
            addCriterion("RFRCODE_EIGHTH not between", value1, value2, "rfrcodeEighth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNinthIsNull() {
            addCriterion("RFRCODE_NINTH is null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNinthIsNotNull() {
            addCriterion("RFRCODE_NINTH is not null");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNinthEqualTo(String value) {
            addCriterion("RFRCODE_NINTH =", value, "rfrcodeNinth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNinthNotEqualTo(String value) {
            addCriterion("RFRCODE_NINTH <>", value, "rfrcodeNinth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNinthGreaterThan(String value) {
            addCriterion("RFRCODE_NINTH >", value, "rfrcodeNinth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNinthGreaterThanOrEqualTo(String value) {
            addCriterion("RFRCODE_NINTH >=", value, "rfrcodeNinth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNinthLessThan(String value) {
            addCriterion("RFRCODE_NINTH <", value, "rfrcodeNinth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNinthLessThanOrEqualTo(String value) {
            addCriterion("RFRCODE_NINTH <=", value, "rfrcodeNinth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNinthLike(String value) {
            addCriterion("RFRCODE_NINTH like", value, "rfrcodeNinth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNinthNotLike(String value) {
            addCriterion("RFRCODE_NINTH not like", value, "rfrcodeNinth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNinthIn(List<String> values) {
            addCriterion("RFRCODE_NINTH in", values, "rfrcodeNinth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNinthNotIn(List<String> values) {
            addCriterion("RFRCODE_NINTH not in", values, "rfrcodeNinth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNinthBetween(String value1, String value2) {
            addCriterion("RFRCODE_NINTH between", value1, value2, "rfrcodeNinth");
            return (Criteria) this;
        }

        public Criteria andRfrcodeNinthNotBetween(String value1, String value2) {
            addCriterion("RFRCODE_NINTH not between", value1, value2, "rfrcodeNinth");
            return (Criteria) this;
        }
    }

    /**
     * STDDISEASE_
     */
    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    /**
     * STDDISEASE_ 2020-06-11
     */
    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}